aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/mmcli.c')
-rw-r--r--cli/mmcli.c5
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);
}