lots of changes after a lot of time

This commit is contained in:
2024-12-30 21:29:05 +02:00
parent e998c4f325
commit 5aa5d1f46f

View File

@@ -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