SVN: rc-scripts/trunk/lib/functions
glen
glen at pld-linux.org
Wed Dec 14 18:15:48 CET 2011
Author: glen
Date: Wed Dec 14 18:15:48 2011
New Revision: 12453
Modified:
rc-scripts/trunk/lib/functions
Log:
- ksh did not like doble minus ("+5--10"), needs spaces ("+5 - -10") to process correctly
Modified: rc-scripts/trunk/lib/functions
==============================================================================
--- rc-scripts/trunk/lib/functions (original)
+++ rc-scripts/trunk/lib/functions Wed Dec 14 18:15:48 2011
@@ -643,7 +643,7 @@
nice=${nice:-0}
# make nice level absolute, not to be dependant of nice level of shell where service started
- nice=$((nice-$(nice)))
+ nice=$(($nice - $(nice)))
if [ "$closefds" = 1 ]; then
exec 1>&-
More information about the pld-cvs-commit
mailing list