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>
This commit is contained in:
parent
e581068c77
commit
8e7d425627
@ -428,7 +428,7 @@ run_function() {
|
||||
|
||||
$pkgfunc &>"$logpipe"
|
||||
|
||||
wait $teepid
|
||||
wait -f $teepid
|
||||
rm "$logpipe"
|
||||
else
|
||||
"$pkgfunc"
|
||||
|
Loading…
Reference in New Issue
Block a user