From b0a5ddedac5210545ab414c1d82c24c3f9529895 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Mar 2019 05:54:30 +0000 Subject: [PATCH] etc/profile.d/pdsh.sh --- etc/profile.d/pdsh.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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>&- } -- 2.47.3