]> git.pld-linux.org Git - packages/rc-scripts.git/blame - rc-scripts-svn.patch
- fix nice calc for ksh
[packages/rc-scripts.git] / rc-scripts-svn.patch
CommitLineData
d7a206eb
ER
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}
fc552014 5
d7a206eb
ER
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)))
fc552014 9
d7a206eb
ER
10 if [ "$closefds" = 1 ]; then
11 exec 1>&-
This page took 0.032877 seconds and 4 git commands to generate.