mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-11 20:05:07 -05:00
makepkg: avoid redirecting stdout
If stdout is already redirected, redirecting stderr to stdout can lead to undesirable results. Fixes FS#34974. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
c1dfdd2010
commit
c5a4b35528
@ -1473,7 +1473,7 @@ run_function() {
|
|||||||
wait $teepid
|
wait $teepid
|
||||||
rm "$logpipe"
|
rm "$logpipe"
|
||||||
else
|
else
|
||||||
$pkgfunc 2>&1
|
"$pkgfunc"
|
||||||
fi
|
fi
|
||||||
# reset our shell options
|
# reset our shell options
|
||||||
eval "$shellopts"
|
eval "$shellopts"
|
||||||
|
Loading…
Reference in New Issue
Block a user