From 6204320984fb06f2fa3a95f69f54c6a3a0b64ea8 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 7 Jul 2019 01:19:35 +0100 Subject: [PATCH] etc/profile.d/pdsh.sh --- etc/profile.d/pdsh.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3