test: fix thinko in previous commit
This commit is contained in:
parent
89bca27158
commit
dc4ab54ea7
@ -194,7 +194,7 @@ int bb_test(int argc, char **argv)
|
||||
return 2;
|
||||
}
|
||||
argv[argc] = NULL;
|
||||
} else if (LONE_CHAR(arg0, '[') == 0) { /* "[[" ? */
|
||||
} else if (LONE_CHAR(arg0+1, '[') == 0) { /* "[[" ? */
|
||||
--argc;
|
||||
if (strcmp(argv[argc], "]]") != 0) {
|
||||
bb_error_msg("missing ]]");
|
||||
|
Loading…
x
Reference in New Issue
Block a user