summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-10-18 23:02:57 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-10-19 11:45:46 +0200
commitdcbe739627ff295d74134015bb2c2fb822ae5e9b (patch)
tree14e8c363450ae155273716797a9f1413607f9fed
parent9ceece07199df1382485ee67cd4c8fe05a824878 (diff)
mmcli,sim: force sync operation for the info action
(cherry picked from commit 25007741c8a458567998744de87bdd55128da80f)
-rw-r--r--cli/mmcli-sim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/mmcli-sim.c b/cli/mmcli-sim.c
index d8db968d..c8713743 100644
--- a/cli/mmcli-sim.c
+++ b/cli/mmcli-sim.c
@@ -124,6 +124,9 @@ mmcli_sim_options_enabled (void)
exit (EXIT_FAILURE);
}
+ if (info_flag)
+ mmcli_force_sync_operation ();
+
checked = TRUE;
return !!n_actions;
}