From: Nicolas Boisselier Date: Sun, 7 Jul 2019 00:19:35 +0000 (+0100) Subject: etc/profile.d/pdsh.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=6204320984fb06f2fa3a95f69f54c6a3a0b64ea8;p=nb.git etc/profile.d/pdsh.sh --- diff --git a/etc/profile.d/pdsh.sh b/etc/profile.d/pdsh.sh index a878158e..aedc26c6 100644 --- a/etc/profile.d/pdsh.sh +++ b/etc/profile.d/pdsh.sh @@ -6,6 +6,7 @@ export PDSH_SSH_ARGS="-q" [ -r ~/.pdsh.hosts ] && export WCOLL=~/.pdsh.hosts +[ "$SHELL" = "/bin/sh" ] && return 0 pdsh_quiet() { exec 3> >(grep -Ev '^(pdsh@|[^ :]+: (stdio forwarding failed|channel [0-9]+: open failed))') pdsh $@ 2>&3