summaryrefslogtreecommitdiff
path: root/chvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'chvt.c')
-rw-r--r--chvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chvt.c b/chvt.c
index 37fd21a..45a0439 100644
--- 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);
}