mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 07:58:00 +02:00
cli: append newline to failure message
Fixes:a06487a6ae(cherry picked from commitdbd0634c84)
This commit is contained in:
parent
1d4a9e64fb
commit
0fd523c58d
1 changed files with 1 additions and 1 deletions
|
|
@ -1978,7 +1978,7 @@ device_state_cb (NMDevice *device, GParamSpec *pspec, gpointer user_data)
|
||||||
&& state == NM_DEVICE_STATE_FAILED) {
|
&& state == NM_DEVICE_STATE_FAILED) {
|
||||||
if (nmc->print_output == NMC_PRINT_PRETTY)
|
if (nmc->print_output == NMC_PRINT_PRETTY)
|
||||||
nmc_terminal_erase_line ();
|
nmc_terminal_erase_line ();
|
||||||
g_print (_("Error: Connection activation failed."));
|
g_print (_("Error: Connection activation failed.\n"));
|
||||||
quit ();
|
quit ();
|
||||||
} else if (active && ac_state != NM_ACTIVE_CONNECTION_STATE_ACTIVATING) {
|
} else if (active && ac_state != NM_ACTIVE_CONNECTION_STATE_ACTIVATING) {
|
||||||
g_string_printf (nmc->return_text, _("Error: Connection activation failed."));
|
g_string_printf (nmc->return_text, _("Error: Connection activation failed."));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue