Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.
[oweals/busybox.git] / test.c
diff --git a/test.c b/test.c
index 0a16e9328c2d8c86ecd0dd192d64f63b2b4c9831..36da4db0b76ad8c98d43163a856bb1fedb43f1b9 100644 (file)
--- a/test.c
+++ b/test.c
@@ -235,7 +235,7 @@ test_main(int argc, char** argv)
        if (*t_wp != NULL && *++t_wp != NULL)
                syntax(*t_wp, "unknown operand");
 
-       exit( res);
+       return( res);
 }
 
 static void