diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-27 00:30:13 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-27 00:30:13 +0100 |
commit | c262280ca4645830f0448740040fcca0730ab4bd (patch) | |
tree | d18dafdbca8370e4266d19f3dabc206a918290b1 | |
parent | One more line (diff) | |
download | arch-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-x | joes-arch-install-UEFI.sh | 5 |
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 |