From c262280ca4645830f0448740040fcca0730ab4bd Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 27 Nov 2019 00:30:13 +0100 Subject: Simplified useless lines --- joes-arch-install-UEFI.sh | 5 +---- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3