INN commit: trunk/scripts (news.daily.in)

INN Commit rra at isc.org
Wed Jul 8 06:02:25 UTC 2009


    Date: Tuesday, July 7, 2009 @ 23:02:25
  Author: iulius
Revision: 8548

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:
  trunk/scripts/news.daily.in

---------------+
 news.daily.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: news.daily.in
===================================================================
--- news.daily.in	2009-07-03 22:02:42 UTC (rev 8547)
+++ news.daily.in	2009-07-08 06:02:25 UTC (rev 8548)
@@ -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