summaryrefslogtreecommitdiffstats
path: root/web/attachments/117424-check_log.sh.patch
diff options
context:
space:
mode:
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