From c6a41b24890731b10832d4a09b6aacbd8b9d30b3 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Wed, 6 May 2020 13:20:33 +0200 Subject: [PATCH] remove returns --- init | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/init b/init index e9c1576..ca4635e 100755 --- a/init +++ b/init @@ -51,10 +51,8 @@ init_archlinux_archive () { repo="Server=https://archive.archlinux.org/repos/$1/\$repo/os/\$arch" pacman -Syy --quiet - # If repo exists, set it, if not, return False - curl -s "$repo" && echo "$repo" > /etc/pacman.d/mirrorlist || return 1 - - return 0 + # If repo exists, set it + curl -s "$repo" && echo "$repo" > /etc/pacman.d/mirrorlist }