mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update debian11_setup.sh
This commit is contained in:
		
							parent
							
								
									6e5a986147
								
							
						
					
					
						commit
						ea043702e9
					
				| 
						 | 
					@ -2,9 +2,9 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Setup script environment
 | 
					# Setup script environment
 | 
				
			||||||
set -o errexit  #Exit immediately if a pipeline returns a non-zero status
 | 
					set -o errexit  #Exit immediately if a pipeline returns a non-zero status
 | 
				
			||||||
set -o errtrace #Trap ERR from shell functions, command substitutions, and commands from subshell
 | 
					#set -o errtrace #Trap ERR from shell functions, command substitutions, and commands from subshell
 | 
				
			||||||
set -o nounset  #Treat unset variables as an error
 | 
					set -o nounset  #Treat unset variables as an error
 | 
				
			||||||
set -o pipefail #Pipe will exit with last non-zero status if applicable
 | 
					#set -o pipefail #Pipe will exit with last non-zero status if applicable
 | 
				
			||||||
shopt -s expand_aliases
 | 
					shopt -s expand_aliases
 | 
				
			||||||
alias die='EXIT=$? LINE=$LINENO error_exit'
 | 
					alias die='EXIT=$? LINE=$LINENO error_exit'
 | 
				
			||||||
trap die ERR
 | 
					trap die ERR
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue