INN commit: branches/2.5/scripts (news.daily.in)
INN Commit
rra at isc.org
Wed Jul 8 06:03:24 UTC 2009
Date: Tuesday, July 7, 2009 @ 23:03:24
Author: iulius
Revision: 8549
If innfeed is not used, news.daily reports an error message
when it tries to find out the pid of all the running instances
of innfeed. We now check for that.
Thanks to Andreas M. Kirchwitz for the patch.
Modified:
branches/2.5/scripts/news.daily.in
---------------+
news.daily.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: news.daily.in
===================================================================
--- news.daily.in 2009-07-08 06:02:25 UTC (rev 8548)
+++ news.daily.in 2009-07-08 06:03:24 UTC (rev 8549)
@@ -229,7 +229,7 @@
cd "${PATHSPOOL}/${INNFEEDSPOOL}"
# Find the PIDs of innfeed.
- LOCKS=`cat *.lock | ${SORT} -u`
+ LOCKS=`cat *.lock 2>/dev/null | ${SORT} -u`
# Process files like "innfeed-dropped.A001703" where
# 1703 is not in $LOCKS.
More information about the inn-committers
mailing list