diff --git a/repmgr-client.c b/repmgr-client.c index 25ebf6b9..545221b4 100644 --- a/repmgr-client.c +++ b/repmgr-client.c @@ -1722,7 +1722,7 @@ check_cli_parameters(const int action) action_name(action)); } } - else if (runtime_options.wait) + else if (runtime_options.no_wait) { switch (action) {