diff options
Diffstat (limited to 'src/aur')
-rwxr-xr-x | src/aur | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -50,7 +50,7 @@ main() { local startdir=$PWD local missing_deps=() - local ret=0 + local ret=$EXIT_SUCCESS local pkg local copy_new local copy_old @@ -73,7 +73,7 @@ main() { local url="https://aur.archlinux.org/packages/${pkg:0:2}/$pkg/$pkg.tar.gz" set -o pipefail if ! wget -O- -q "$url" | bsdtar xf -; then - ret=$((ret|2)) + ret=$((ret|EXIT_FAILURE)) error "Couldn't get %s" "$pkg" continue fi |