fixed
This commit is contained in:
parent
2467012280
commit
6b1d537269
@ -279,7 +279,6 @@ echo_default() {
|
||||
|
||||
# This function is called when the user decides to exit the script. It clears the screen and displays an exit message.
|
||||
exit_script() {
|
||||
[[ -n "${SPINNER_PID:-}" ]] && kill "$SPINNER_PID" &>/dev/null || true
|
||||
clear
|
||||
echo -e "\n${CROSS}${RD}User exited script${CL}\n"
|
||||
exit
|
||||
|
@ -132,7 +132,7 @@ __curl_err_handler() {
|
||||
*) msg_error "Unhandled curl error (exit $exit_code) in: $cmd" ;;
|
||||
esac
|
||||
|
||||
exit_script
|
||||
exit
|
||||
}
|
||||
|
||||
# This function displays an informational message with logging support.
|
||||
|
Loading…
x
Reference in New Issue
Block a user