aboutsummaryrefslogtreecommitdiff
path: root/console-tools/chvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r--console-tools/chvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c
index 37fd21ae9..45a04397a 100644
--- a/console-tools/chvt.c
+++ b/console-tools/chvt.c
@@ -33,7 +33,7 @@ int chvt_main(int argc, char **argv)
perror("VT_WAITACTIVE");
exit(FALSE);
}
- exit(TRUE);
+ return(TRUE);
}