fixed trans management defualting to dryrun

This commit is contained in:
2026-04-19 12:29:31 -04:00
parent 9f8e592418
commit 69a82ce1b9
+2 -2
View File
@@ -136,7 +136,7 @@ if [[ ! -f "$MANAGER_SCRIPT" ]]; then
fi fi
# Capture cleanup output for file count # Capture cleanup output for file count
CLEANUP_OUTPUT=$(bash "$CLEANUP_SCRIPT" ${DRY_RUN:+--dry-run} 2>&1) CLEANUP_OUTPUT=$(bash "$CLEANUP_SCRIPT" $([[ "$DRY_RUN" == true ]] && echo "--dry-run") 2>&1)
CLEANUP_EXIT=$? CLEANUP_EXIT=$?
echo "$CLEANUP_OUTPUT" echo "$CLEANUP_OUTPUT"
@@ -147,7 +147,7 @@ FILES_CLEANED="${FILES_CLEANED:-0}"
# ----------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------
# ━━━ $ICON_WATCHDOG Run Manager ━━━ # ━━━ $ICON_WATCHDOG Run Manager ━━━
# ----------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------
MANAGER_OUTPUT=$(bash "$MANAGER_SCRIPT" ${DRY_RUN:+--dry-run} 2>&1) MANAGER_OUTPUT=$(bash "$MANAGER_SCRIPT" $([[ "$DRY_RUN" == true ]] && echo "--dry-run") 2>&1)
MANAGER_EXIT=$? MANAGER_EXIT=$?
echo "$MANAGER_OUTPUT" echo "$MANAGER_OUTPUT"