cli: always perform a clean shutdown on successful operations

This commit is contained in:
Aleksander Morgado
2011-08-20 10:15:36 +02:00
parent 96e07f7ab0
commit c37949d7ba

View File

@@ -160,6 +160,10 @@ main (gint argc, gchar **argv)
g_main_loop_unref (loop);
}
if (mmcli_manager_options_enabled ()) {
mmcli_manager_shutdown ();
}
g_object_unref (connection);
return EXIT_SUCCESS;