diff options
| author | Michael Biebl <biebl@debian.org> | 2017-11-07 00:14:39 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-11-07 00:14:39 +0100 |
| commit | 90e8691111889a7b5f3c812f5a41f15a8a058913 (patch) | |
| tree | f101a879eca27c34a9bfa5f3da52266b22539a36 /clients/cli/agent.c | |
| parent | bdb6eeb0670658255c2a4c3c501c0a27fa8cfe55 (diff) | |
New upstream version 1.9.90 upstream/1.9.90
Diffstat (limited to 'clients/cli/agent.c')
| -rw-r--r-- | clients/cli/agent.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clients/cli/agent.c b/clients/cli/agent.c index 23582f49..656a5851 100644 --- a/clients/cli/agent.c +++ b/clients/cli/agent.c @@ -21,6 +21,8 @@ #include "nm-default.h" +#include "agent.h" + #include <stdio.h> #include <stdlib.h> #include <errno.h> @@ -31,7 +33,6 @@ #include "utils.h" #include "nm-secret-agent-simple.h" #include "polkit-agent.h" -#include "agent.h" static void usage (void) @@ -125,7 +126,7 @@ secrets_requested (NMSecretAgentSimple *agent, NmCli *nmc = (NmCli *) user_data; gboolean success = FALSE; - if (nmc->print_output == NMC_PRINT_PRETTY) + if (nmc->nmc_config.print_output == NMC_PRINT_PRETTY) nmc_terminal_erase_line (); success = get_secrets_from_user (request_id, title, msg, secrets); |