From: Nicolas Boisselier Date: Fri, 15 Mar 2019 02:34:37 +0000 (+0000) Subject: etc/profile.d/pdsh.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=adb39bb87065e1183f04d04d9efb9bd341414451;p=nb.git etc/profile.d/pdsh.sh --- diff --git a/etc/profile.d/pdsh.sh b/etc/profile.d/pdsh.sh index d7bbd089..5d2fbc4b 100644 --- a/etc/profile.d/pdsh.sh +++ b/etc/profile.d/pdsh.sh @@ -2,12 +2,12 @@ which pdsh > /dev/null || return 0 export PDSH_RCMD_TYPE=ssh +export PDSH_SSH_ARGS="-q" [ -r ~/.pdsh.hosts ] && export WCOLL=~/.pdsh.hosts pdsh_quiet() { - #exec 2 - exec 2> >(sed 's/p/P/g') + exec 2> >(grep -v '^pdsh@') pdsh $@ exec 2>&- }