From 8556a0d7d6adcd68d79b3a5ba4a325a2f4f5097e Mon Sep 17 00:00:00 2001 From: niansa Date: Fri, 25 Aug 2017 15:07:47 +0200 Subject: [PATCH] Update urlcheck.sh --- urlcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urlcheck.sh b/urlcheck.sh index 457c52d..add7674 100644 --- a/urlcheck.sh +++ b/urlcheck.sh @@ -37,7 +37,7 @@ if [ ! -e "$FILE" ]; then fi # Antworte 403 Forbidden wenn Datei nicht lesbar ist -if [ ! -e "$FILE" ]; then +if [ ! -r "$FILE" ]; then STATUS='HTTP/1.0 403 Forbidden' CONTENTTYPE='text/plain' FILE="$ERROR403"