lots of changes after a lot of time
This commit is contained in:
3
grpoppro
3
grpoppro
@@ -49,7 +49,8 @@ function curlRequest {
|
|||||||
-H "$UP_IN_REQ" \
|
-H "$UP_IN_REQ" \
|
||||||
"$@"
|
"$@"
|
||||||
)"
|
)"
|
||||||
if [[ $? -ne 0 ]]; then
|
exit_code="$?"
|
||||||
|
if [[ "$exit_code" -ne 0 ]]; then
|
||||||
message "Error: Failed to execute curl request."
|
message "Error: Failed to execute curl request."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user