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