From: root Date: Tue, 19 Mar 2019 05:54:30 +0000 (+0000) Subject: etc/profile.d/pdsh.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=b0a5ddedac5210545ab414c1d82c24c3f9529895;p=nb.git etc/profile.d/pdsh.sh --- diff --git a/etc/profile.d/pdsh.sh b/etc/profile.d/pdsh.sh index 5d2fbc4b..20ca9759 100644 --- a/etc/profile.d/pdsh.sh +++ b/etc/profile.d/pdsh.sh @@ -7,7 +7,7 @@ export PDSH_SSH_ARGS="-q" [ -r ~/.pdsh.hosts ] && export WCOLL=~/.pdsh.hosts pdsh_quiet() { - exec 2> >(grep -v '^pdsh@') - pdsh $@ - exec 2>&- + exec 3> >(grep -v '^pdsh@') + pdsh $@ 2>&3 + exec 3>&- }