Print x if request unsuccessful
This commit is contained in:
parent
12a09829fa
commit
60cf058e04
|
@ -16,6 +16,11 @@ do
|
|||
-X $METHOD \
|
||||
-s $URL \
|
||||
-o /dev/null
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
printf '%s' "."
|
||||
else
|
||||
printf '%s' "x"
|
||||
fi
|
||||
sleep $SLEEP_TIME
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue