[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689719: Suggested patch for bug #689719



Hello,

I've fixed the bug described here by the following patch. The patch
causes normal checkpc output to be send to syslog, where the error
messages are directed anyways.



Ciao,

Alexander Wuerstlein.

--- lprng.new   2012-11-04 18:17:57.000000000 +0100
+++ lprng       2012-11-04 18:15:45.000000000 +0100
@@ -43,7 +43,7 @@
     then
       /usr/bin/logger -p "lpr.err" -t "lpd" "cron.daily found errors, run checkpc for details."
     else
-      /usr/sbin/checkpc -r -A 1D
+      /usr/sbin/checkpc -r -A 1D | /usr/bin/logger -p "lpr.info" -t "lpd" 
     fi
   fi


Reply to: