From 8e7d425627c8a6ce102c349020ccf6c5786c7a46 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 7 Oct 2019 16:22:52 +1000 Subject: 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 --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-24-g4f1b