summaryrefslogtreecommitdiff
path: root/src/aur
diff options
context:
space:
mode:
Diffstat (limited to 'src/aur')
-rwxr-xr-xsrc/aur4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aur b/src/aur
index 197bb34..f53b015 100755
--- a/src/aur
+++ b/src/aur
@@ -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