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.
This commit is contained in:
Thomas Haller 2019-04-05 20:25:27 +02:00
parent 69765c11fd
commit a77c5d18c4

View file

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