diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-12-26 19:06:59 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:37 +0100 |
commit | b224f1889428780dc0656ed9fc60750c144a138e (patch) | |
tree | e56f5a5f1af33492331e7ae2d152e0d211e7b638 /cli | |
parent | 9d7e3de4cd7d607dc797b8b6adf93eb75a018b6e (diff) |
cli: modem options check always last, even when shutting down
Diffstat (limited to 'cli')
-rw-r--r-- | cli/mmcli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/mmcli.c b/cli/mmcli.c index 79dcf3b4..18e1c4dc 100644 --- a/cli/mmcli.c +++ b/cli/mmcli.c @@ -281,8 +281,6 @@ main (gint argc, gchar **argv) if (mmcli_manager_options_enabled ()) { mmcli_manager_shutdown (); - } else if (mmcli_modem_options_enabled ()) { - mmcli_modem_shutdown (); } else if (mmcli_modem_3gpp_options_enabled ()) { mmcli_modem_3gpp_shutdown (); } else if (mmcli_modem_simple_options_enabled ()) { @@ -291,6 +289,8 @@ main (gint argc, gchar **argv) mmcli_sim_shutdown (); } else if (mmcli_bearer_options_enabled ()) { mmcli_bearer_shutdown (); + } else if (mmcli_modem_options_enabled ()) { + mmcli_modem_shutdown (); } if (cancellable) |