1779518879
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
## make less interactive
|
||||
### visudo
|
||||
### su user
|
||||
## x reboot
|
||||
|
||||
# set safety optinonz
|
||||
set -o errexit # fail on error
|
||||
@@ -29,7 +30,6 @@ services_to_disable=("nginx")
|
||||
num_of_args="$#"
|
||||
all_args="$@"
|
||||
|
||||
|
||||
# Define the cleanup function
|
||||
error_handle() {
|
||||
# CRITICAL: Capture the exit status code before ANY other command runs
|
||||
|
||||
Reference in New Issue
Block a user