aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initscripts.spec2
-rwxr-xr-xrc.d/init.d/functions4
2 files changed, 4 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 9eb77320..3fc95813 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -4,7 +4,7 @@ Name: initscripts
Version: %{version}
Copyright: GPL
Group: System Environment/Base
-Release: 1
+Release: 2
Source: initscripts-%{version}.tar.gz
BuildRoot: /var/tmp/initbld
Requires: mingetty, bash, /bin/awk, /bin/sed, mktemp, modutils >= 2.1.85-3, e2fsprogs, sysklogd >= 1.3.31, procps
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 222cdbe7..2426a722 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -51,7 +51,9 @@ daemon() {
shift
base=$1
gotbase="yes"
- shift;;
+ shift
+ nicelevel=0
+ ;;
-*|+*) nicelevel=$1
shift;;