5 Aug
2019
5 Aug
'19
11:26 a.m.
Hi Allan,
@@ -428,7 +428,7 @@ run_function() { $pkgfunc &>"$logpipe"
wait $teepid - rm "$logpipe" + rm -f "$logpipe"
I don't understand this either... Note that there is no evidence of this occurring when running makepkg directly. Only under the Arch devtools package.
Strictly speaking, shouldn't that be ‘wait -f’? I don't know if it's only job control that could cause a change in tee's status Also, wait's exit status is ignored; reporting an unusual status may give a clue. An rm without -f could be attempted first and if that fails then report its exit status and try again with -f, checking that second rm too. Same end result, ‘rm -f’, but perhaps more light shed on the problem. -- Cheers, Ralph.