From 6be2c2b6c06fdcbcea2ddbfd7fcfe9cac09af15b Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 23 Aug 2025 19:51:53 +1200 Subject: [PATCH] Update source/agent-remote/_allservicesstatus.sh --- source/agent-remote/_allservicesstatus.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/agent-remote/_allservicesstatus.sh b/source/agent-remote/_allservicesstatus.sh index 6b0d52a..fa53e40 100755 --- a/source/agent-remote/_allservicesstatus.sh +++ b/source/agent-remote/_allservicesstatus.sh @@ -9,6 +9,11 @@ # Get all services on the server SCRIPT_DIR="$(dirname "$0")" +# export the passed variables from C++, so subshell can use them. +export AGENT_PATH="${AGENT_PATH}" +export HOST_NAME="${HOST_NAME}" +export SERVER="${SERVER}" + # //------------------------------------------------------------------------------------------------ # // remote paths # // DROPSHELL_DIR