summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-cmd-parser.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c
index e0a92ddbc6e..be0a8e756d5 100644
--- a/cli/src/cli-cmd-parser.c
+++ b/cli/src/cli-cmd-parser.c
@@ -2814,10 +2814,6 @@ cli_cmd_gsync_set_parse (const char **words, int wordcount, dict_t **options)
ret = -1;
goto out;
}
- if (!slavei || !masteri) {
- ret = -1;
- goto out;
- }
ret = dict_set_uint32 (dict, "reset-sync-time", _gf_true);
if (ret)
goto out;