summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/webcheck_url.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/webcheck_url.sh b/bin/webcheck_url.sh
index 6089d92f..94b6882e 100755
--- a/bin/webcheck_url.sh
+++ b/bin/webcheck_url.sh
@@ -42,7 +42,7 @@ fi
#
# ignore some extra patterns (=all translations) when checking www.debian.org
#
-if [ "${URL:0-21}" = "http://www.debian.org" ] ; then
+if [ "${URL:0:21}" = "http://www.debian.org" ] ; then
TRANSLATIONS=$(curl www.debian.org 2>/dev/null|grep index|grep lang=|cut -d "." -f2)
for LANG in $TRANSLATIONS ; do
PARAMS="$PARAMS -y $LANG.html"