summaryrefslogtreecommitdiff
path: root/src/librefetch/librefetch
diff options
context:
space:
mode:
Diffstat (limited to 'src/librefetch/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index f73beca..9b90798 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -134,7 +134,7 @@ main() {
export PKGDEST=$startdir
export pkg_file=$dst
cd "$BUILDDIR"
- "$makepkg" "${makepkg_opts[@]}" -p "$srcbuild" >> /dev/stderr
+ "$makepkg" "${makepkg_opts[@]}" -p "$srcbuild" >> /dev/stderr || return 1
rm -- "${pkg_file##*/}"
fi
}