summaryrefslogtreecommitdiffstats
path: root/web/attachments/117424-check_log.sh.patch
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/117424-check_log.sh.patch
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/117424-check_log.sh.patch')
-rw-r--r--web/attachments/117424-check_log.sh.patch13
1 files changed, 13 insertions, 0 deletions
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 @@
1--- check_log.sh 2002-10-28 13:05:07.000000000 +0000
2+++ check_log.sh.new 2005-01-27 18:51:26.000000000 +0000
3@@ -164,8 +164,8 @@
4
5 # If the source log file doesn't exist, exit
6
7-if [ ! -e $logfile ]; then
8- $ECHO "Log check error: Log file $logfile does not exist!\n"
9+if [ ! -r $logfile ]; then
10+ $ECHO "Log check error: Log file $logfile does not exist or you do not have read permission!\n"
11 exit $STATE_UNKNOWN
12 fi
13