summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-04-16 13:36:12 -0400
committerAllan McRae <allan@archlinux.org>2019-05-08 13:08:47 +1000
commit0bc687e2e01f4e6e3f2a2f7ac10c7e1fdbaf5ba2 (patch)
tree54ee268e41e759e9fdbfe7acbccb4f5f23e6da58 /scripts/makepkg.sh.in
parent9375f49865296f04bd51e5e39ddca863b67cbd6c (diff)
downloadpacman-0bc687e2e01f4e6e3f2a2f7ac10c7e1fdbaf5ba2.tar.xz
makepkg: propagate error codes when package failed to sign correctly
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 4559afec..4d9948ec 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1481,7 +1481,7 @@ else
enter_fakeroot
- create_package_signatures
+ create_package_signatures || exit $E_PRETTY_BAD_PRIVACY
fi
# if inhibiting archive creation, go no further