From 1d6bbcd2925e7e5e19e26367937db91d44d14102 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Sun, 21 May 2023 22:58:35 +0200
Subject: Silence SSH issues
---
lib/subcommands/top.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/subcommands/top.bash b/lib/subcommands/top.bash
index 7763eba..a8806af 100644
--- a/lib/subcommands/top.bash
+++ b/lib/subcommands/top.bash
@@ -46,7 +46,7 @@ subcommand()
else
debug "$BASHTARD_NAME/ssh" "$user@$node ($host) > bashtard sysinfo"
# shellcheck disable=SC2029
- results+=(["$node"]="$(ssh "$user@$host" "bashtard sysinfo")")
+ results+=(["$node"]="$(ssh "$user@$host" "bashtard sysinfo" 2>/dev/null)")
fi
unset user
--
cgit v1.1