cli: always perform a clean shutdown on successful operations
This commit is contained in:
@@ -160,6 +160,10 @@ main (gint argc, gchar **argv)
|
|||||||
g_main_loop_unref (loop);
|
g_main_loop_unref (loop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mmcli_manager_options_enabled ()) {
|
||||||
|
mmcli_manager_shutdown ();
|
||||||
|
}
|
||||||
|
|
||||||
g_object_unref (connection);
|
g_object_unref (connection);
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
Reference in New Issue
Block a user