From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/117424-check_log.sh.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 web/attachments/117424-check_log.sh.patch (limited to 'web/attachments/117424-check_log.sh.patch') diff --git a/web/attachments/117424-check_log.sh.patch b/web/attachments/117424-check_log.sh.patch new file mode 100644 index 0000000..6d6fdb8 --- /dev/null +++ b/web/attachments/117424-check_log.sh.patch @@ -0,0 +1,13 @@ +--- check_log.sh 2002-10-28 13:05:07.000000000 +0000 ++++ check_log.sh.new 2005-01-27 18:51:26.000000000 +0000 +@@ -164,8 +164,8 @@ + + # If the source log file doesn't exist, exit + +-if [ ! -e $logfile ]; then +- $ECHO "Log check error: Log file $logfile does not exist!\n" ++if [ ! -r $logfile ]; then ++ $ECHO "Log check error: Log file $logfile does not exist or you do not have read permission!\n" + exit $STATE_UNKNOWN + fi + -- cgit v1.2.3-74-g34f1