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:
Jiří Klimeš
2010-07-29 16:16:20 +02:00
parent 2ffa6a830e
commit 28d5b67d84
4 changed files with 14 additions and 4 deletions

View File

@@ -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;