From c3605c84c0a0b419c435eed4f37f4f26c0a6181a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 9 Jul 2013 00:52:27 -0600 Subject: librefetch: preserve exit status from makepkg --- src/librefetch/librefetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3-54-g00ecf