aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-20 20:38:45 +0000
committerBill Nottingham <notting@redhat.com>1999-09-20 20:38:45 +0000
commit359864a2155d176583b9c32755a6e54c314a11d2 (patch)
treeb679898f58b10456ef487ef0bac42a77c0d5390d
parent987d1900a8579200a912130c4bba56ce0491f214 (diff)
downloadinitscripts-359864a2155d176583b9c32755a6e54c314a11d2.tar
initscripts-359864a2155d176583b9c32755a6e54c314a11d2.tar.gz
initscripts-359864a2155d176583b9c32755a6e54c314a11d2.tar.bz2
initscripts-359864a2155d176583b9c32755a6e54c314a11d2.tar.xz
initscripts-359864a2155d176583b9c32755a6e54c314a11d2.zip
pass /dev/null as stdin to daemons.
-rwxr-xr-xrc.d/init.d/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 37b6ced7..f6590be5 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -84,7 +84,7 @@ daemon() {
[ "$BOOTUP" = "verbose" ] && echo -n " $base"
# And start it up.
- nice -n $nicelevel initlog $INITLOG_ARGS -c "$*" && success "$base startup" || failure "$base startup"
+ nice -n $nicelevel initlog $INITLOG_ARGS -c "$*" </dev/null && success "$base startup" || failure "$base startup"
}
# A function to stop a program.