From: Nicolas Boisselier Date: Fri, 15 Mar 2019 02:26:41 +0000 (+0000) Subject: etc/profile.d/pdsh.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=14d8104ca62402480b91cb3a960b0afa0e90e560;p=nb.git etc/profile.d/pdsh.sh --- diff --git a/etc/profile.d/pdsh.sh b/etc/profile.d/pdsh.sh index 3b04612a..d7bbd089 100644 --- a/etc/profile.d/pdsh.sh +++ b/etc/profile.d/pdsh.sh @@ -6,5 +6,8 @@ export PDSH_RCMD_TYPE=ssh [ -r ~/.pdsh.hosts ] && export WCOLL=~/.pdsh.hosts pdsh_quiet() { - pdsh $@ 2>/dev/null + #exec 2 + exec 2> >(sed 's/p/P/g') + pdsh $@ + exec 2>&- }