aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-05-21 22:58:35 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-05-21 22:58:35 +0200
commit1d6bbcd2925e7e5e19e26367937db91d44d14102 (patch)
treed7d07f28be4531cfeca95f7b4bcf4f79f1fc6c4f
parent440a94dd4d87b5abff64a5f5720f0808c5cb149f (diff)
Silence SSH issues
-rw-r--r--lib/subcommands/top.bash2
1 files changed, 1 insertions, 1 deletions
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