From 6c99b429b96898278493d46ee5aba946e31ef617 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 18 May 2025 13:56:52 +1200 Subject: [PATCH] dropshell release 2025.0518.1356 --- source/src/commands/list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/commands/list.cpp b/source/src/commands/list.cpp index cf9ab28..4a994ca 100644 --- a/source/src/commands/list.cpp +++ b/source/src/commands/list.cpp @@ -130,7 +130,7 @@ void show_server_details(const std::string& server_name) { info << std::string(40, '-') << std::endl; // Try to connect to the server - std::string cmd = "ssh -o ConnectTimeout=5 " + ssh_user + "@" + ssh_address + " -p " + ssh_port + " 'echo connected' 2>/dev/null"; + std::string cmd = "ssh -o ConnectTimeout=5 " + ssh_user + "@" + ssh_address + " -p " + ssh_port + " 'true' 2>/dev/null"; int result = system(cmd.c_str()); if (result == 0) { info << "Status: Online" << std::endl;