diff options
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r-- | cli/src/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c index 511b45b54ef..525ec4bab72 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -410,7 +410,7 @@ parse_cmdline (int argc, char *argv[], struct cli_state *state) state->ctx->secure_mgmt = 1; } - if (state->argc >= GEO_REP_CMD_CONFIG_INDEX && + if (state->argc > GEO_REP_CMD_CONFIG_INDEX && strtail (state->argv[GEO_REP_CMD_INDEX], "geo") && strtail (state->argv[GEO_REP_CMD_CONFIG_INDEX], "co")) geo_rep_config = _gf_true; |