SVN: rc-scripts/trunk/lib/functions
baggins
baggins at pld-linux.org
Tue Apr 3 21:30:32 CEST 2012
Author: baggins
Date: Tue Apr 3 21:30:32 2012
New Revision: 12536
Modified:
rc-scripts/trunk/lib/functions
Log:
- provide stdin for the daemons that just must have it,
but stupid ksh closes it on them (for example acpid)
Modified: rc-scripts/trunk/lib/functions
==============================================================================
--- rc-scripts/trunk/lib/functions (original)
+++ rc-scripts/trunk/lib/functions Tue Apr 3 21:30:32 2012
@@ -687,7 +687,7 @@
--exec "$prog" \
-- ${1:+"$@"}
else
- nice -n $nice initlog -c "$prog" 2>&1
+ nice -n $nice initlog -c "$prog" 2>&1 </dev/null
fi
); then
More information about the pld-cvs-commit
mailing list