sleep: make it non-NOFORK. Fixes ^C in standalone shell

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
Denys Vlasenko
2010-09-14 12:57:05 +02:00
parent 0eac8ff164
commit 197a6b3c14
2 changed files with 4 additions and 3 deletions

View File

@@ -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