Fix: Log-Ausgaben werden jetzt auch im terminal angezeigt

This commit is contained in:
DragonSlayer_14 2025-03-05 19:15:10 +01:00
parent cc8b337987
commit f645085190

View File

@ -13,5 +13,5 @@ log() {
touch "$LOGFILE" touch "$LOGFILE"
fi fi
echo "$(date +'%Y-%m-%d %H:%M:%S') - $1" | tee -a "$LOGFILE" echo "$(date +'%Y-%m-%d %H:%M:%S') - $1" | tee -a "$LOGFILE" >/dev/tty
} }