summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-09 00:52:27 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-09 00:52:27 -0600
commitc3605c84c0a0b419c435eed4f37f4f26c0a6181a (patch)
treef3b3b0eecda2fdfe526a077d0978ac225eae49d4 /src/librefetch
parent9477aee2bc1e61af101396792e7f7d32e5e51c5a (diff)
librefetch: preserve exit status from makepkg
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index 3d37123..02c74ea 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -159,7 +159,7 @@ main() {
export pkg_file=$dst
cd "$BUILDFILEDIR"
- "$makepkg" "${makepkg_opts[@]}" -p "$srcbuild" >> /dev/stderr || return 1
+ "$makepkg" "${makepkg_opts[@]}" -p "$srcbuild" >> /dev/stderr || return $?
fi
}