summaryrefslogtreecommitdiff
path: root/coreutils/sleep.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-09-14 12:57:05 +0200
committerDenys Vlasenko2010-09-14 12:57:05 +0200
commit197a6b3c14a8be7101903118516e0e16ec843eb5 (patch)
treeac97460846ca5f1677bd5e011c515637e593c317 /coreutils/sleep.c
parent0eac8ff1648f94a79a0e21731ec993dd73d946db (diff)
downloadbusybox-197a6b3c14a8be7101903118516e0e16ec843eb5.zip
busybox-197a6b3c14a8be7101903118516e0e16ec843eb5.tar.gz
sleep: make it non-NOFORK. Fixes ^C in standalone shell
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'coreutils/sleep.c')
-rw-r--r--coreutils/sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/sleep.c b/coreutils/sleep.c
index b983df4..12798d9 100644
--- a/coreutils/sleep.c
+++ b/coreutils/sleep.c
@@ -20,7 +20,7 @@
#include "libbb.h"
-/* This is a NOFORK applet. Be very careful! */
+/* Do not make this applet NOFORK. It breaks ^C-ing of pauses in shells */
#if ENABLE_FEATURE_FANCY_SLEEP || ENABLE_FEATURE_FLOAT_SLEEP