summaryrefslogtreecommitdiffstats
path: root/src/common/util-common.h
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-08-14 03:20:58 +0200
committerAllan McRae <allan@archlinux.org>2018-08-29 06:58:32 +0200
commit16f6aae33087ec04c1dc90aa84f7d3dde4333046 (patch)
treea776574440a883155b1401aaaebb2e8759e871a3 /src/common/util-common.h
parent48c8f9f2a24632dabe5b1c74a474e3940ddd8748 (diff)
downloadpacman-16f6aae33087ec04c1dc90aa84f7d3dde4333046.tar.gz
pacman-16f6aae33087ec04c1dc90aa84f7d3dde4333046.tar.xz
makepkg: fix pkgver() function not aborting on errors
`run_function_safe pkgver` is evaluated in a subshell and therefore does not abort when it should. Explicitly check the return outside of the subshell and abort if necessary. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/common/util-common.h')
0 files changed, 0 insertions, 0 deletions