cli: wait a bit even when '--nowait' is specified; for permissions check (rh #614866)
NetworkManager checks clients' permissions on requests, so nmcli mustn't quit too early to give NM a chance to reach it on D-Bus.
This commit is contained in:
@@ -286,6 +286,7 @@ nmc_init (NmCli *nmc)
|
||||
nmc->user_connections = NULL;
|
||||
|
||||
nmc->should_wait = FALSE;
|
||||
nmc->nowait_flag = TRUE;
|
||||
nmc->print_output = NMC_PRINT_NORMAL;
|
||||
nmc->multiline_output = FALSE;
|
||||
nmc->mode_specified = FALSE;
|
||||
|
Reference in New Issue
Block a user