Compare commits

..

No commits in common. "4517c5bdcbdbe295373f1a1d0b34d029ec32a859" and "78942ff30bc8681b8c7b30bb4100d39fd635aecd" have entirely different histories.

2 changed files with 3 additions and 19 deletions

View file

@ -203,15 +203,7 @@ cleanup_tmp_files
format_output remove_script "Cleaning up" format_output remove_script "Cleaning up"
# Print final message # Print final message
final_message() { final_message "$this_script_name" $success
local script_name=$1
local success=$2
if [[ $success -eq 0 ]]; then
log "${CHECK_MARK} $script_name completed successfully."
else
log "${CROSS_MARK} $script_name encountered errors."
fi
}
# Exit with appropriate status # Exit with appropriate status
exit $success exit $success

View file

@ -6,7 +6,7 @@
# Variables for URLs and script info # Variables for URLs and script info
this_script_url="https://git.hhf.technology/hhf/script-management-cloudpanel/raw/branch/main/master.sh" this_script_url="https://git.hhf.technology/hhf/script-management-cloudpanel/raw/branch/main/master.sh"
this_script_name="Script Management CloudPanel" this_script_name="Script Management CloudPanel"
formatter_url="https://git.hhf.technology/hhf/TaskFormatter/raw/branch/main/bash_task_formatter/task_formatter.sh" formatter_url="https://git.hhf.technology/hhf/TaskFormatter/raw/branch/main/task_formatter.sh"
BRANCH="main" BRANCH="main"
forgejo_instance="git.hhf.technology" forgejo_instance="git.hhf.technology"
forgejo_owner="hhf" forgejo_owner="hhf"
@ -214,14 +214,6 @@ if [[ "$verbose" == "true" ]]; then
log "Master log file saved at: $master_log_file" log "Master log file saved at: $master_log_file"
fi fi
final_message() { final_message "$this_script_name" $success
local script_name=$1
local success=$2
if [[ $success -eq 0 ]]; then
log "${CHECK_MARK} $script_name completed successfully."
else
log "${CROSS_MARK} $script_name encountered errors."
fi
}
exit $success exit $success