I am Spartacus
This commit is contained in:
2
grpoppro
2
grpoppro
@@ -179,7 +179,7 @@ function basics {
|
|||||||
# Retrieve internal ID
|
# Retrieve internal ID
|
||||||
function getInternalID {
|
function getInternalID {
|
||||||
response="$(curlRequest "$simpleurl")"
|
response="$(curlRequest "$simpleurl")"
|
||||||
if echo "$response" | grep -q 404; then
|
if echo "$response" | grep -q "404 Not Found"; then
|
||||||
message "Non valid response"
|
message "Non valid response"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user