SOURCES: syslog.init - appears that -a takes only one path

glen glen at pld-linux.org
Fri Oct 28 11:09:32 CEST 2005


Author: glen                         Date: Fri Oct 28 09:09:31 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- appears that -a takes only one path

---- Files affected:
SOURCES:
   syslog.init (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SOURCES/syslog.init
diff -u SOURCES/syslog.init:1.22 SOURCES/syslog.init:1.23
--- SOURCES/syslog.init:1.22	Thu Oct 27 14:29:04 2005
+++ SOURCES/syslog.init	Fri Oct 28 11:09:25 2005
@@ -42,7 +42,9 @@
 	OPTIONS="$OPTIONS -s $DOMAINLIST"
 fi
 if [ -n "$ADDITIONAL_SOCK" ]; then
-	OPTIONS="$OPTIONS -a \"$ADDITIONAL_SOCK\""
+	for a in $ADDITIONAL_SOCK; do
+		OPTIONS="$OPTIONS -a $a"
+	done
 fi
 FIXFILES=""
 if [ -n "$RUNAS" ]; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/syslog.init?r1=1.22&r2=1.23&f=u




More information about the pld-cvs-commit mailing list