This commit is contained in:
@@ -73,7 +73,7 @@ fi
|
|||||||
|
|
||||||
# test if server is running
|
# test if server is running
|
||||||
if ! wget -qO- "${HOSTURL}/status" | jq -r '.result' | grep -q 'success'; then
|
if ! wget -qO- "${HOSTURL}/status" | jq -r '.result' | grep -q 'success'; then
|
||||||
wget "${HOSTURL}/status"
|
wget -O - "${HOSTURL}/status"
|
||||||
|
|
||||||
die "server is not running on ${HOSTURL}"
|
die "server is not running on ${HOSTURL}"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user