Commit a5383d3a authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget --check: allow --verbose

parent c9e34f13
......@@ -1242,8 +1242,13 @@ get_urls()
if [ -n "$CHECKURL" ] ; then
#set_quiet
check_url_is_accessible "$1"
exit
URL="$1"
check_url_is_accessible "$URL"
res=$?
if [ -n "$verbose" ] ; then
[ "$res" = "0" ] && echo "$URL is accessible via network" || echo "$URL is NOT accessible via network"
fi
exit $res
fi
if [ -n "$GETRESPONSE" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment