Update install.func
This commit is contained in:
parent
3684c3d3b2
commit
09273f00dd
@ -13,18 +13,6 @@ fi
|
|||||||
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/core.func)
|
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/core.func)
|
||||||
load_functions
|
load_functions
|
||||||
|
|
||||||
__handle_general_error() {
|
|
||||||
local location="$1"
|
|
||||||
local code="$?"
|
|
||||||
msg_error "Error at ${location} (exit code ${code})"
|
|
||||||
exit "$code"
|
|
||||||
}
|
|
||||||
|
|
||||||
__handle_signal_exit() {
|
|
||||||
msg_error "Script aborted by signal (SIGINT or SIGTERM)"
|
|
||||||
exit 130
|
|
||||||
}
|
|
||||||
|
|
||||||
# # Function to set STD mode based on verbosity
|
# # Function to set STD mode based on verbosity
|
||||||
# set_std_mode() {
|
# set_std_mode() {
|
||||||
# if [ "$VERBOSE" = "yes" ]; then
|
# if [ "$VERBOSE" = "yes" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user