aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-27 00:30:13 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-27 00:30:13 +0100
commitc262280ca4645830f0448740040fcca0730ab4bd (patch)
treed18dafdbca8370e4266d19f3dabc206a918290b1
parentOne more line (diff)
downloadarch-installer-c262280ca4645830f0448740040fcca0730ab4bd.tar.gz
arch-installer-c262280ca4645830f0448740040fcca0730ab4bd.tar.bz2
arch-installer-c262280ca4645830f0448740040fcca0730ab4bd.tar.xz
arch-installer-c262280ca4645830f0448740040fcca0730ab4bd.tar.zst
arch-installer-c262280ca4645830f0448740040fcca0730ab4bd.zip
Simplified useless lines
-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