From 70ec47d674db5ae21c3a0564bd1350701013ae77 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 25 Sep 2014 09:34:42 -0400 Subject: fixup! cli: add '--show-secrets' option for 'nmcli connection show' --- clients/cli/connections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 61cebe090d..c0efc001d8 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -645,7 +645,7 @@ update_secrets_in_connection (NMRemoteConnection *con) int i; for (i = 0; nmc_fields_settings_names[i].name; i++) { - secrets = nm_remote_connection_get_secrets_sync (con, nmc_fields_settings_names[i].name, NULL); + secrets = nm_remote_connection_get_secrets (con, nmc_fields_settings_names[i].name, NULL, NULL); if (secrets) { (void) nm_connection_update_secrets (NM_CONNECTION (con), NULL, secrets, NULL); g_variant_unref (secrets); -- cgit v1.2.1