aboutsummaryrefslogtreecommitdiff
path: root/toys/oneit.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/oneit.c')
-rw-r--r--toys/oneit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/oneit.c b/toys/oneit.c
index 1f87e5f2..3ac5db4f 100644
--- a/toys/oneit.c
+++ b/toys/oneit.c
@@ -30,7 +30,7 @@ int oneit_main(void)
sync();
reboot(toys.optflags ? RB_POWER_OFF : RB_AUTOBOOT);
}
-
+
// Redirect stdio to /dev/tty0, with new session ID, so ctrl-c works.
setsid();
for (i=0; i<3; i++) {