diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-11-27 15:55:47 +0100 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-11-29 11:12:52 +0100 |
commit | fa3b6565fd994cd4b4e2909d32927fa033126045 (patch) | |
tree | de08f3b0bceacf917782c004bbd65c989d7803de | |
parent | 94e5845035be0602d47cdd03a6f14a9772d43053 (diff) |
cli: exit from main loop after 'quit' editor command
When we stop processing the editor command loop (after a 'quit'
command) we must quit the GLib main loop.
https://bugzilla.redhat.com/show_bug.cgi?id=1517401
(cherry picked from commit 21cfeff7776cfaf2b64edca0fdbc10bff93730a8)
(cherry picked from commit 66a728e8ac6ae3eb6ac4f9016a9801394b9c40c7)
-rw-r--r-- | clients/cli/connections.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index fac1227b7..4f45b0f8c 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -7779,6 +7779,8 @@ editor_menu_main (NmCli *nmc, NMConnection *connection) g_object_unref (rem_con); g_weak_ref_clear (&weak); + quit (); + /* Save history file */ save_history_cmds (nm_connection_get_uuid (connection)); |