mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-06 03:30:42 +01:00
fixup! nmcli: wait for device set async operation to finish
This commit is contained in:
parent
54e76ec901
commit
04d73297e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue