Compare commits

..

No commits in common. "0c25f301ee0238a09248253854a815228fc6cb3a" and "1d71c75a244348478674d345fc6dcaa65acf7604" have entirely different histories.

View File

@ -203,11 +203,7 @@ check-http(){
if [ "$(grep "$status_pattern" <<<$response)" ] ; then if [ "$(grep "$status_pattern" <<<$response)" ] ; then
response=OK response=OK
else else
if [ -z $response ] ; then response="ERROR ($response)"
response='ERROR: TIMEOUT'
else
response="ERROR ($response)"
fi
fi fi
echo $response echo $response
@ -223,7 +219,6 @@ check(){
# NOTE: we are preserving whitespace here... # NOTE: we are preserving whitespace here...
local comment=`sed \ local comment=`sed \
-e 's/^\(.*\)\('"$PROTOCOLS"'\):\/\/.*$/\1/' \ -e 's/^\(.*\)\('"$PROTOCOLS"'\):\/\/.*$/\1/' \
-e 's/\s*$//' \
<<<$1` <<<$1`
local target=`sed \ local target=`sed \
-e 's/^.*\s*\(\('"$PROTOCOLS"'\):\/\/\)/\1/' \ -e 's/^.*\s*\(\('"$PROTOCOLS"'\):\/\/\)/\1/' \