feat: Add message to web_get test
This commit is contained in:
parent
11a13d4342
commit
96cc14a322
3
quickget
3
quickget
|
@ -1248,7 +1248,8 @@ function web_get() {
|
|||
echo "${URL}"
|
||||
exit 0
|
||||
elif [ "${just}" == 'test' ]; then
|
||||
wget --spider "${URL}"
|
||||
echo -n "Testing if $(echo "${URL}" | rev | cut -d'/' -f1 | rev) is available... "
|
||||
wget -q --spider "${URL}" && echo 'Sucessfull' || echo 'ERROR!'
|
||||
exit 0
|
||||
elif [ "${just}" == 'download' ]; then
|
||||
DIR="$(pwd)"
|
||||
|
|
Loading…
Reference in New Issue