[packages/tmpwatch] no need for extra variable
glen
glen at pld-linux.org
Tue Jul 16 23:05:03 CEST 2013
commit cdcff2923bb634a428f19bf0b3fcc7369868bc86
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jul 17 00:04:52 2013 +0300
no need for extra variable
tmpwatch.cron | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/tmpwatch.cron b/tmpwatch.cron
index b6abaa9..61024e8 100755
--- a/tmpwatch.cron
+++ b/tmpwatch.cron
@@ -25,8 +25,7 @@ fi
# process extra .conf files
for file in /etc/tmpwatch/*.conf; do
grep ^/ ${file} | while read DIRECTORY TIME OPTS; do
- OPTS="${OPTIONS} ${OPTS}"
- /usr/sbin/tmpwatch ${OPTS} ${TIME} ${DIRECTORY}
+ /usr/sbin/tmpwatch ${OPTIONS} ${OPTS} ${TIME} ${DIRECTORY}
done
done
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tmpwatch.git/commitdiff/cdcff2923bb634a428f19bf0b3fcc7369868bc86
More information about the pld-cvs-commit
mailing list