diff --git a/scripts/update.sh b/scripts/update.sh index 8293ae8..cc3ca61 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -199,6 +199,8 @@ trap '_cleanup' EXIT INT TERM echo "running" > "$STATE_DIR/state" rm -f "$STATE_DIR/rc" : > "$LOG_FILE" +# Alle echo-Ausgaben in Log-Datei schreiben (und stdout — für CLI-Nutzung) +exec > >(tee -a "$LOG_FILE") 2>&1 git_safe git_dirty_check