SOURCES: q3ded.init - removed bashizm

gotar gotar at pld-linux.org
Mon Jul 18 20:03:49 CEST 2005


Author: gotar                        Date: Mon Jul 18 18:03:49 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- removed bashizm

---- Files affected:
SOURCES:
   q3ded.init (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/q3ded.init
diff -u SOURCES/q3ded.init:1.9 SOURCES/q3ded.init:1.10
--- SOURCES/q3ded.init:1.9	Sun Mar 27 13:07:12 2005
+++ SOURCES/q3ded.init	Mon Jul 18 20:03:44 2005
@@ -53,7 +53,7 @@
   stop)
 	if [ -f /var/lock/subsys/q3ded ]; then
 		msg_stopping "Quake3 dedicated server"
-		rm -f /var/lock/subsys/q3ded &>/dev/null
+		rm -f /var/lock/subsys/q3ded 2>/dev/null >&1
 		SCREEN_PID=`screen -ls | grep q3ded | awk -F . '{print $1}' | sed -e s/.//`
 		if [ ! -z "$SCREEN_PID" ]; then
 			Q3_PID=`pstree -p ${SCREEN_PID} |\
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/q3ded.init?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list