2.1.6 | "exec &> /dev/tty" nicht weiter notwendig
This commit is contained in:
		
							parent
							
								
									8fbb24bee9
								
							
						
					
					
						commit
						471aa79139
					
				@ -5,9 +5,9 @@
 | 
			
		||||
# Autor:        Patrick Asmus
 | 
			
		||||
# Web:          https://www.media-techport.de
 | 
			
		||||
# Git-Reposit.: https://git.media-techport.de/scriptos/weekly-updater.git
 | 
			
		||||
# Version:      2.1.5
 | 
			
		||||
# Datum:        28.10.2023
 | 
			
		||||
# Modifikation: Logging optimiert
 | 
			
		||||
# Version:      2.1.6
 | 
			
		||||
# Datum:        01.02.2024
 | 
			
		||||
# Modifikation: "exec &> /dev/tty" nicht weiter notwendig
 | 
			
		||||
#####################################################
 | 
			
		||||
 | 
			
		||||
# 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
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
exec &> /dev/tty
 | 
			
		||||
 | 
			
		||||
exit 0
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user