From 04d73297e33544b96edd46499814633be5680c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8D=C3=B1igo=20Huguet?= Date: Tue, 3 Mar 2026 10:35:59 +0100 Subject: [PATCH] fixup! nmcli: wait for `device set` async operation to finish --- src/nmcli/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nmcli/devices.c b/src/nmcli/devices.c index cfedd63435..48d2cb67b2 100644 --- a/src/nmcli/devices.c +++ b/src/nmcli/devices.c @@ -3026,7 +3026,7 @@ do_device_set(const NMCCommand *cmd, NmCli *nmc, int argc, const char *const *ar cb_info->nmc = nmc; if (nmc->timeout > 0) cb_info->timeout_source = - nm_g_timeout_add_source(nmc->timeout, device_set_timeout_cb, cb_info); + nm_g_timeout_add_seconds_source(nmc->timeout, device_set_timeout_cb, cb_info); nmc->nowait_flag = (nmc->timeout == 0); nmc->should_wait++;