summaryrefslogtreecommitdiff
path: root/clients/cli/connections.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-04-05 20:25:27 +0200
committerThomas Haller <thaller@redhat.com>2019-04-05 20:25:28 +0200
commita77c5d18c4e9838c5eb58b9e759da95481a8e298 (patch)
treee3dcf38b4b4e0ee9d65d00d0159a0c1633e030e6 /clients/cli/connections.c
parent69765c11fd8e175e203a2a13265f7984f943c493 (diff)
downloadNetworkManager-a77c5d18c4e9838c5eb58b9e759da95481a8e298.tar.gz
cli: fix missing newline for printing error message about "Connection deletion failed"
$ nmcli connection delete Wired\ connection\ 1 Error: Connection deletion failed: Insufficient privilegesError: not all connections deleted.
Diffstat (limited to 'clients/cli/connections.c')
-rw-r--r--clients/cli/connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c
index b231060e18..9a71d3944d 100644
--- a/clients/cli/connections.c
+++ b/clients/cli/connections.c
@@ -8549,7 +8549,7 @@ delete_cb (GObject *con, GAsyncResult *result, gpointer user_data)
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
return;
g_string_printf (info->nmc->return_text, _("Error: not all connections deleted."));
- g_printerr (_("Error: Connection deletion failed: %s"),
+ g_printerr (_("Error: Connection deletion failed: %s\n"),
error->message);
g_error_free (error);
info->nmc->return_value = NMC_RESULT_ERROR_CON_DEL;