aboutsummaryrefslogtreecommitdiffstats
path: root/joes-arch-install-UEFI.sh
diff options
context:
space:
mode:
Diffstat (limited to 'joes-arch-install-UEFI.sh')
-rwxr-xr-xjoes-arch-install-UEFI.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh
index 4cecc81..64e6237 100755
--- a/joes-arch-install-UEFI.sh
+++ b/joes-arch-install-UEFI.sh
@@ -86,10 +86,7 @@ read -r
#==================================================================================================#
clear
echo -e "${BCYAN}Verifying that your are connected to the Internet, please wait...${END}"
-
-wget -q --spider https://www.archlinux.org > /dev/null
-tmpret=$?
-if [ $tmpret -ne 0 ]; then
+if ! wget -q --spider https://www.archlinux.org/; then
clear
echo -e "${BRED}\
X=X=X=X=X=X=X ERROR X=X=X=X=X=X=X=X