mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
e396345058
...
c47326ff25
Author | SHA1 | Date |
---|---|---|
|
c47326ff25 | |
|
ba7a7c1720 |
|
@ -74,7 +74,7 @@ trap - ERR
|
|||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
|
||||
msg_error "Internet NOT Connected"
|
||||
read -r -p "Would you like to continue anyway? <y/N> " prompt
|
||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||
if echo "$prompt" | grep -Ei "^(y|yes)$" > /dev/null; then
|
||||
echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}"
|
||||
else
|
||||
echo -e " 🖧 Check Network Settings"
|
||||
|
|
Loading…
Reference in New Issue