diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/cli-cmd-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 44bef1d82f4..bd876bdb742 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -3216,7 +3216,7 @@ cli_cmd_volume_top_parse (const char **words, int wordcount, key = (char *) words[index]; value = (char *) words[index+1]; - if ( key && !value ) { + if (!key || !value) { ret = -1; goto out; } |