summaryrefslogtreecommitdiff
blob: 8b489f026423eceea6859be9624b589085c158f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -NurpP util-vserver-0.30.208/scripts/legacy/vserver util-vserver-0.30.208-nicefix/scripts/legacy/vserver
--- util-vserver-0.30.208/scripts/legacy/vserver	2005-03-21 21:03:31.000000000 +0100
+++ util-vserver-0.30.208-nicefix/scripts/legacy/vserver	2005-10-27 13:33:37.384017250 +0200
@@ -514,7 +514,7 @@ elif [ "$2" = "start" ] ; then
 			DOMAINOPT="--domainname $S_DOMAINNAME"
 		fi
 		if [ "$S_NICE" != "" ] ; then
-			NICECMD="nice -$S_NICE"
+			NICECMD="nice -n $S_NICE"
 		fi
 		mkdir -p $__PKGSTATEDIR
 		chmod 700 $__PKGSTATEDIR
diff -NurpP util-vserver-0.30.208/scripts/vserver.functions util-vserver-0.30.208-nicefix/scripts/vserver.functions
--- util-vserver-0.30.208/scripts/vserver.functions	2005-07-03 19:47:06.000000000 +0200
+++ util-vserver-0.30.208-nicefix/scripts/vserver.functions	2005-10-27 13:32:33.332014250 +0200
@@ -100,7 +100,7 @@ function _generateNiceCommand
     test -r "$vdir/nice" || return 0;
     read nice <"$vdir"/nice
 
-    NICE_CMD=( $_NICE -$nice )
+    NICE_CMD=( $_NICE -n $nice )
 }