From fb2217d157dab4ee54cdf5803914ce0995b11c97 Mon Sep 17 00:00:00 2001 From: Brian Flowers Date: Mon, 19 Sep 2016 12:30:59 -0400 Subject: [PATCH] Attempting to fix ssh hang in some plugins --- bdsm.d/df.generic | 4 ++-- bdsm.d/sensors.generic | 4 ++-- bdsm.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bdsm.d/df.generic b/bdsm.d/df.generic index 5ff6f59..113560b 100755 --- a/bdsm.d/df.generic +++ b/bdsm.d/df.generic @@ -52,7 +52,7 @@ help() start() { - running=`ssh $HOSTNAME "cat /home/bdsm/.df.pid | \ + running=`ssh -q $HOSTNAME "cat /home/bdsm/.df.pid | \ xargs ps -T | \ grep -v PID | \ wc -l"` 2>/dev/null @@ -66,7 +66,7 @@ start() fi ssh -q $HOSTNAME <> $OUTPATH diff --git a/bdsm.d/sensors.generic b/bdsm.d/sensors.generic index 24c82a4..e344890 100755 --- a/bdsm.d/sensors.generic +++ b/bdsm.d/sensors.generic @@ -48,7 +48,7 @@ help() start() { - running=`ssh $HOSTNAME "cat /home/bdsm/.sensors.pid | \ + running=`ssh -q $HOSTNAME "cat /home/bdsm/.sensors.pid | \ xargs ps -T | \ grep -v PID | \ wc -l"` 2>/dev/null @@ -62,7 +62,7 @@ start() fi ssh -q $HOSTNAME <