SOURCES: daemontools.init - unbreak finding log services

glen glen at pld-linux.org
Mon May 5 21:40:16 CEST 2008


Author: glen                         Date: Mon May  5 19:40:16 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- unbreak finding log services

---- Files affected:
SOURCES:
   daemontools.init (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SOURCES/daemontools.init
diff -u SOURCES/daemontools.init:1.18 SOURCES/daemontools.init:1.19
--- SOURCES/daemontools.init:1.18	Mon May  5 21:35:02 2008
+++ SOURCES/daemontools.init	Mon May  5 21:40:10 2008
@@ -57,7 +57,7 @@
 		svc=$(echo $SVSCAN_DIR/*)
 		if [ "$svc" != "$SVSCAN_DIR/*" ]; then
 			svc -d -x $SVSCAN_DIR/* \
-				$(find $SVSCAN_DIR/* -maxdepth 0 -follow -perm -1000 | sed -e 's-\$-/log-')
+				$(find $SVSCAN_DIR/* -maxdepth 0 -follow -perm -1000 | sed -e 's,$,/log,')
 		fi
 		rm -f /var/run/svscan.pid /var/lock/subsys/svscan >/dev/null 2>&1
 	else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/daemontools.init?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list