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

@@ -102,6 +102,7 @@ typedef struct _NmCli {
GSList *user_connections; /* List of user connections */
gboolean should_wait; /* Indication that nmcli should not end yet */
gboolean nowait_flag; /* '--nowait' option; used for passing to callbacks */
NMCPrintOutput print_output; /* Output mode */
gboolean multiline_output; /* Multiline output instead of default tabular */
gboolean mode_specified; /* Whether tabular/multiline mode was specified via '--mode' option */