dnk: fixup
This commit is contained in:
parent
935eed349f
commit
cd4e3536d7
@ -26,7 +26,7 @@ case $EVENT in
|
||||
fi
|
||||
|
||||
HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" $API_URL/shm/v1/test)
|
||||
if [ $CODE -ne '200' ]; then
|
||||
if [ $HTTP_CODE -ne '200' ]; then
|
||||
echo "ERROR: incorrect API URL: $API_URL"
|
||||
echo "Got status: $CODE"
|
||||
exit 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user