2.1.6 | "exec &> /dev/tty" nicht weiter notwendig

This commit is contained in:
Patrick Asmus 2024-02-01 21:01:49 +00:00
parent 8fbb24bee9
commit 471aa79139

View File

@ -5,9 +5,9 @@
# Autor: Patrick Asmus # Autor: Patrick Asmus
# Web: https://www.media-techport.de # Web: https://www.media-techport.de
# Git-Reposit.: https://git.media-techport.de/scriptos/weekly-updater.git # Git-Reposit.: https://git.media-techport.de/scriptos/weekly-updater.git
# Version: 2.1.5 # Version: 2.1.6
# Datum: 28.10.2023 # Datum: 01.02.2024
# Modifikation: Logging optimiert # Modifikation: "exec &> /dev/tty" nicht weiter notwendig
##################################################### #####################################################
# Variablen # Variablen
@ -63,6 +63,4 @@ else
echo -e "Das Update auf $HOSTNAME ist fehlgeschlagen! \n\nLog-Inhalt: \n\n$log_contents" | mail -s "Woechentliches Update auf $HOSTNAME fehlgeschlagen" $MAIL echo -e "Das Update auf $HOSTNAME ist fehlgeschlagen! \n\nLog-Inhalt: \n\n$log_contents" | mail -s "Woechentliches Update auf $HOSTNAME fehlgeschlagen" $MAIL
fi fi
exec &> /dev/tty
exit 0 exit 0