Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c
[oweals/busybox.git] / test.c
diff --git a/test.c b/test.c
index 36da4db0b76ad8c98d43163a856bb1fedb43f1b9..d7b34a6a415f539ba2859ab0e1856ecc32cf4fe2 100644 (file)
--- a/test.c
+++ b/test.c
@@ -183,7 +183,7 @@ test_main(int argc, char** argv)
 {
        int     res;
 
-       if (strcmp(argv[0], "[") == 0) {
+       if (strcmp(applet_name, "[") == 0) {
                if (strcmp(argv[--argc], "]"))
                        fatalError("missing ]\n");
                argv[argc] = NULL;