Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.
[oweals/busybox.git] / chvt.c
diff --git a/chvt.c b/chvt.c
index 37fd21ae96634eb4843722cc8c3ccf849676e8cc..45a04397a4c39f3a7a091926310b14fdef6ef54a 100644 (file)
--- a/chvt.c
+++ b/chvt.c
@@ -33,7 +33,7 @@ int chvt_main(int argc, char **argv)
                perror("VT_WAITACTIVE");
                exit(FALSE);
        }
-       exit(TRUE);
+       return(TRUE);
 }