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
+3
View File
@@ -54,6 +54,9 @@ echo ""
PROFILE_NAME=$(basename "$DIRECTORY" | tr '[:upper:]' '[:lower:]')
info "$ICON_GEAR Loading profile: $PROFILE_NAME"
# Acquire per-profile lock and check global concurrent limit
acquire_rsync_lock "$PROFILE_NAME"
# Scalar overrides
BW_LIMIT=${PROFILE_BW_LIMIT[$PROFILE_NAME]:-$BW_LIMIT}
RETRY_COUNT=${PROFILE_RETRY_COUNT[$PROFILE_NAME]:-$RETRY_COUNT}