Tools echo/log audit pass — 9 scripts + Manual

No setup banners to remove (Tools folder was already clean). Fix log→echo
on summary status/conclusion lines across container_data_export, emby_database_repair,
recreate_shares, zfs_pool_scrub, and fallback_state_reset (safety check + two summary
detail lines). Fix log→echo on status display lines in watchdog_skip_list_manager
(skip list empty, restart history lines). Move per-item "to add" preview echoes to
log in emby_to_lidarr/radarr/sonarr_sync; fix nothing-to-do log→echo in all three.
Add output tiers section to Manual-Tools.md.
This commit is contained in:
Gmer4Lfe
2026-05-21 16:58:32 -04:00
parent 789d376eb3
commit 5ccfb895c1
10 changed files with 35 additions and 18 deletions
+2 -2
View File
@@ -281,7 +281,7 @@ for pool in "${STARTED[@]}"; do
error " $ERRORS"
POOLS_ERRORS+=("$pool")
else
log "$pool$SCAN_LINE"
echo "$pool$SCAN_LINE"
POOLS_OK+=("$pool")
fi
done
@@ -304,7 +304,7 @@ if [[ ${#POOLS_ERRORS[@]} -gt 0 ]]; then
notify "ZFS scrub errors on $(hostname) ($MY_ID) — pools with errors: ${POOLS_ERRORS[*]}" \
"ZFS Scrub" "warning"
elif [[ ${#POOLS_OK[@]} -gt 0 ]]; then
log "$ICON_DONE Status: all ${#POOLS_OK[@]} pools clean ✅"
echo "$ICON_DONE Status: all ${#POOLS_OK[@]} pools clean ✅"
fi
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"