diff options
-rw-r--r-- | cmds-qgroup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds-qgroup.c b/cmds-qgroup.c index 00cc0894..5ea40216 100644 --- a/cmds-qgroup.c +++ b/cmds-qgroup.c @@ -116,6 +116,10 @@ static int parse_limit(const char *p, unsigned long long *s) *s = CLEAR_VALUE; return 1; } + + if (p[0] == '-') + return 0; + size = strtoull(p, &endptr, 10); switch (*endptr) { case 'T': |