From 7fb81599f2ef4fa19e4cd734b45bb7b0e1196eb9 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 27 Apr 2025 09:54:05 +0200 Subject: [PATCH] etc/profile.d/pdsh.sh --- etc/profile.d/pdsh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/profile.d/pdsh.sh b/etc/profile.d/pdsh.sh index 6ade4353..27a0f809 100644 --- a/etc/profile.d/pdsh.sh +++ b/etc/profile.d/pdsh.sh @@ -6,7 +6,7 @@ export PDSH_SSH_ARGS="-q -o ConnectTimeout=5" [ -r ~/.pdsh.hosts ] && export WCOLL=~/.pdsh.hosts -[ "$SHELL" = "/bin/bash" ] || return 0 +[ -n "$BASH" ] || return 0 pdsh_quiet() { exec 3> >(grep -Ev '^(pdsh@|([^ :]+: )?(stdio forwarding failed|channel [0-9]+: open failed))') pdsh $@ 2>&3 -- 2.47.3