mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
test: fix thinko in previous commit
This commit is contained in:
parent
89bca27158
commit
dc4ab54ea7
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue