added safe guards to all scripts that need it. all reference comm.sh like it should be

This commit is contained in:
2026-04-20 17:18:25 -04:00
parent 72940ec202
commit e83473ab8e
20 changed files with 263 additions and 32 deletions
+2
View File
@@ -32,6 +32,8 @@ echo "━━━ $ICON_GEAR Setup ━━━"
detect_hosts
resolve_remote_ip
acquire_lock
# -----------------------------------------------------------------------------------------------
# ━━━ $ICON_SHIELD Pre-flight Checks ━━━
# -----------------------------------------------------------------------------------------------
+2
View File
@@ -35,6 +35,8 @@ if [[ "$EUID" -ne 0 ]]; then
fi
success "Running as root"
acquire_lock
[[ "$DRY_RUN" == true ]] && warn "DRY RUN — passing --dry-run to all child scripts"
# Validate job list
+2
View File
@@ -50,6 +50,8 @@ fi
[[ "$DRY_RUN" == true ]] && warn "DRY RUN — passing to child scripts"
acquire_lock
# -----------------------------------------------------------------------------------------------
# HELPERS
# -----------------------------------------------------------------------------------------------