From 51b5ca3a77e2c5aeb8e3d04852278c07e605af3c Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 9 Mar 2019 21:56:11 +0000 Subject: [PATCH] etc/profile.d/pdsh.sh --- etc/profile.d/pdsh.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/profile.d/pdsh.sh b/etc/profile.d/pdsh.sh index 3b095bef..3b04612a 100644 --- a/etc/profile.d/pdsh.sh +++ b/etc/profile.d/pdsh.sh @@ -1,4 +1,10 @@ # pdsh.sh which pdsh > /dev/null || return 0 + export PDSH_RCMD_TYPE=ssh + [ -r ~/.pdsh.hosts ] && export WCOLL=~/.pdsh.hosts + +pdsh_quiet() { + pdsh $@ 2>/dev/null +} -- 2.47.3