some more cleanup

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-28 03:15:02 +00:00
parent e4ac9d6b32
commit fa0075b4db
+1
View File
@@ -243,6 +243,7 @@ get_api_status() {
jq -r '.status.code, .status.message' jq -r '.status.code, .status.message'
) )
# This quickly checks if the variable contains an integer or not (which is good enough here)
printf -v _ '%d' "$api_status" || { printf -v _ '%d' "$api_status" || {
err "Got invalid status from the api: $api_status" err "Got invalid status from the api: $api_status"
return 1 return 1