diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-09 00:52:27 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-09 00:52:27 -0600 |
commit | c3605c84c0a0b419c435eed4f37f4f26c0a6181a (patch) | |
tree | f3b3b0eecda2fdfe526a077d0978ac225eae49d4 /src/librefetch | |
parent | 9477aee2bc1e61af101396792e7f7d32e5e51c5a (diff) |
librefetch: preserve exit status from makepkg
Diffstat (limited to 'src/librefetch')
-rwxr-xr-x | src/librefetch/librefetch | 2 |
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 } |