]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-svn.patch
- fix nice calc for ksh
[packages/rc-scripts.git] / rc-scripts-svn.patch
1 --- lib/functions       2011-12-14 13:23:27.000000000 +0200
2 +++ lib/functions       2011-12-14 19:16:08.333233967 +0200
3 @@ -643,7 +643,7 @@
4                 nice=${nice:-0}
5  
6                 # make nice level absolute, not to be dependant of nice level of shell where service started
7 -               nice=$((nice-$(nice)))
8 +               nice=$(($nice - $(nice)))
9  
10                 if [ "$closefds" = 1 ]; then
11                         exec 1>&-
This page took 0.060113 seconds and 3 git commands to generate.