]> git.nbdom.net Git - nb.git/commitdiff
etc/profile.d/pdsh.sh
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 16 May 2019 00:13:51 +0000 (01:13 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 16 May 2019 00:13:51 +0000 (01:13 +0100)
etc/profile.d/pdsh.sh

index 20ca9759f27b8790fe1676b3854a79cbfb4a691f..e0fcd5c95d4b3a9716fe13e5c7711eb0eb1781f9 100644 (file)
@@ -7,7 +7,7 @@ export PDSH_SSH_ARGS="-q"
 [ -r ~/.pdsh.hosts ] && export WCOLL=~/.pdsh.hosts
 
 pdsh_quiet() {
-       exec 3> >(grep -v '^pdsh@')
+       exec 3> >(grep -Ev '^(pdsh@|[^ :]+: (stdio forwarding failed|_channel [0-9]+: open failed))')
        pdsh $@ 2>&3
        exec 3>&-
 }