From 0670484b70703c2d1fdb95b31213d521bda58d34 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 1 Apr 2025 16:10:27 +0200 Subject: [PATCH] Update install.func --- misc/install.func | 6 ++++++ 1 file changed, 6 insertions(+) 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