summaryrefslogtreecommitdiffstats
path: root/web/attachments/117424-check_log.sh.patch
blob: 6d6fdb8e9dee8729d99c8ce6fd9fd50f63af4b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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