SOURCES: tmpwatch.cron - prevent infinite concatenation (tnx glen)

blues blues at pld-linux.org
Tue Nov 28 17:40:42 CET 2006


Author: blues                        Date: Tue Nov 28 16:40:42 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- prevent infinite concatenation (tnx glen)

---- Files affected:
SOURCES:
   tmpwatch.cron (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/tmpwatch.cron
diff -u SOURCES/tmpwatch.cron:1.3 SOURCES/tmpwatch.cron:1.4
--- SOURCES/tmpwatch.cron:1.3	Tue Nov 28 17:25:47 2006
+++ SOURCES/tmpwatch.cron	Tue Nov 28 17:40:37 2006
@@ -9,8 +9,8 @@
 ########
 for file in /etc/tmpwatch/*.conf; do
 	grep ^/ ${file} | while read DIRECTORY TIME OPTS; do
-		OPTIONS="${OPTIONS} ${OPTS}"
-		/usr/sbin/tmpwatch ${OPTIONS} ${TIME} ${DIRECTORY}
+		OPTS="${OPTIONS} ${OPTS}"
+		/usr/sbin/tmpwatch ${OPTS} ${TIME} ${DIRECTORY}
 	done
 done
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/tmpwatch.cron?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list