diff --git a/misc/install.func b/misc/install.func index ca60e1e..096d0fa 100644 --- a/misc/install.func +++ b/misc/install.func @@ -148,6 +148,12 @@ setting_up_container() { msg_ok "Network Connected: ${BL}$(hostname -I)" } +exit_script() { + clear + echo -e "\n${CROSS}${RD}Script aborted.${CL}\n" + exit +} + # This function checks the network connection by pinging a known IP address and prompts the user to continue if the internet is not connected network_check() { set +e