From 1257ecd13613d6f60d317a3ee3f34332188d0cfc Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sun, 20 Nov 2011 20:55:07 +0100 Subject: cli: start to port Modem actions to use the new libmm-glib --- cli/mmcli.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cli/mmcli.c') diff --git a/cli/mmcli.c b/cli/mmcli.c index f403d31f..79906602 100644 --- a/cli/mmcli.c +++ b/cli/mmcli.c @@ -158,14 +158,11 @@ main (gint argc, gchar **argv) mmcli_manager_run_asynchronous (connection, cancellable); else mmcli_manager_run_synchronous (connection); - } else { - g_printerr ("error: no actions specified\n"); - exit (EXIT_FAILURE); } /* Modem options? */ else if (mmcli_modem_options_enabled ()) { if (async_flag) - keep_loop = mmcli_modem_run_asynchronous (connection, cancellable); + mmcli_modem_run_asynchronous (connection, cancellable); else mmcli_modem_run_synchronous (connection); } -- cgit v1.2.3-70-g09d2