diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-11-20 20:55:07 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:26 +0100 |
commit | 1257ecd13613d6f60d317a3ee3f34332188d0cfc (patch) | |
tree | 9b790e3a162e155cc0ef2fb2b55f351606aa909f /cli/mmcli.c | |
parent | 9ae68b3fee0a8f58e308f1a20cccf433a414fc8b (diff) |
cli: start to port Modem actions to use the new libmm-glib
Diffstat (limited to 'cli/mmcli.c')
-rw-r--r-- | cli/mmcli.c | 5 |
1 files changed, 1 insertions, 4 deletions
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); } |