Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-08 11:59:54 +0400
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-08 11:59:54 +0400
commitdc4ab54ea7e98fdfd3e1e07ca0743b77baca7856 (patch)
treea1558cdc19d611a5e6626597b4aecfab42cebebe /coreutils
parent89bca271585937793bcd07fe28ac642985ed0b6f (diff)
test: fix thinko in previous commit
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/test.c2
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 ]]");