diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-08 11:59:54 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-08 11:59:54 +0400 |
commit | dc4ab54ea7e98fdfd3e1e07ca0743b77baca7856 (patch) | |
tree | a1558cdc19d611a5e6626597b4aecfab42cebebe /coreutils | |
parent | 89bca271585937793bcd07fe28ac642985ed0b6f (diff) |
test: fix thinko in previous commit
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/test.c b/coreutils/test.c index f86176168..92f94b414 100644 --- a/coreutils/test.c +++ b/coreutils/test.c @@ -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 ]]"); |