summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2019-10-07 08:22:52 +0200
committerAllan McRae <allan@archlinux.org>2019-10-07 08:22:52 +0200
commit8e7d425627c8a6ce102c349020ccf6c5786c7a46 (patch)
tree182feb7e6132d8cfef87615758784c2442f9c449
parente581068c77baa7a167662b0c63730dc87cc90b81 (diff)
downloadpacman-8e7d425627c8a6ce102c349020ccf6c5786c7a46.tar.gz
pacman-8e7d425627c8a6ce102c349020ccf6c5786c7a46.tar.xz
makepkg: wait for process to finish
Without the -f option to wait, we might move on and try to delete the logpipe before the process is completed. Signed-off-by: Allan McRae <allan@archlinux.org>
-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 fac268a8..ec2de455 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -428,7 +428,7 @@ run_function() {
$pkgfunc &>"$logpipe"
- wait $teepid
+ wait -f $teepid
rm "$logpipe"
else
"$pkgfunc"