summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/webcheck_url.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/webcheck_url.sh b/bin/webcheck_url.sh
index fc7e011b..537ee90c 100755
--- a/bin/webcheck_url.sh
+++ b/bin/webcheck_url.sh
@@ -26,6 +26,13 @@ else
fi
#
+# if $1 ends with / then run webcheck with -b
+#
+if [ "${1: -1}" = "/" ] ; then
+ PARAMS="$PARAMS -b"
+fi
+
+#
# $2 can only by used to ignore pattern atm
#
if [ "$2" != "" ] ; then