From 9ff9596c8af7c88590dce96d991d6bb9e5523307 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 30 Dec 2025 10:54:39 +1300 Subject: [PATCH] Update source/src/commands/shared_commands.cpp --- source/src/commands/shared_commands.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/src/commands/shared_commands.cpp b/source/src/commands/shared_commands.cpp index db600f1..a687bf1 100644 --- a/source/src/commands/shared_commands.cpp +++ b/source/src/commands/shared_commands.cpp @@ -170,10 +170,11 @@ namespace dropshell // Run all_status.sh on the remote server to get all service statuses in one call std::string agent_path = remotepath(server_name, user).agent(); + std::string script_path = agent_path + "/all_status.sh"; std::string output; - sCommand cmd(agent_path, "all_status.sh", {}); - bool success = execute_ssh_command(server_env.get_SSH_INFO(user), cmd, cMode::Silent | cMode::NoBB64, &output); + sCommand cmd(agent_path, script_path, {}); + bool success = execute_ssh_command(server_env.get_SSH_INFO(user), cmd, cMode::Silent, &output); if (!success || output.empty()) { debug << "Failed to run all_status.sh on " << server_name << " for user " << user << std::endl;