diff options
-rw-r--r-- | clients/cli/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/cli/common.c b/clients/cli/common.c index 325f73abf5..d57ce6e6c9 100644 --- a/clients/cli/common.c +++ b/clients/cli/common.c @@ -1251,6 +1251,8 @@ call_cmd (NmCli *nmc, GTask *task, const NMCCommand *cmd, int argc, char **argv) g_object_unref (task); } else { + nm_assert (nmc->client == NULL); + nmc->should_wait++; call = g_slice_new0 (CmdCall); call->cmd = cmd; |