summaryrefslogtreecommitdiff
path: root/src/cmd/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/init/init.c')
-rw-r--r--src/cmd/init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/init/init.c b/src/cmd/init/init.c
index fcebfc7..d221a7f 100644
--- a/src/cmd/init/init.c
+++ b/src/cmd/init/init.c
@@ -31,11 +31,11 @@ void redirect(const char *exe, const char *out, const char *in) {
termcook();
execv(exe, (void*)argv);
fprintf(stderr, "init: couldn't start %s\n", exe);
- _sys_sleep(5000);
exit(1);
}
_sys_await();
_sys_intr();
+ _sys_sleep(1000);
}
}
}