add exit_codes.md

This commit is contained in:
CanbiZ
2025-11-17 11:39:14 +01:00
parent ee5fe3439d
commit c9d7c2f46b
2 changed files with 301 additions and 0 deletions

View File

@@ -280,6 +280,9 @@ post_update_to_api() {
return
fi
# Initialize flag if not set (prevents 'unbound variable' error with set -u)
POST_UPDATE_DONE=${POST_UPDATE_DONE:-false}
if [ "$POST_UPDATE_DONE" = true ]; then
return 0
fi