From a0e9597cb5b7a112e95ac307b4a66d9b23e480ec Mon Sep 17 00:00:00 2001 From: DCCONSTRUCTIONS Date: Fri, 24 Jul 2026 22:01:48 +0300 Subject: [PATCH] fix(simulation): source ROS setup outside nounset --- simulation/s1/worker-agent.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simulation/s1/worker-agent.sh b/simulation/s1/worker-agent.sh index 98ad809..01be9e1 100755 --- a/simulation/s1/worker-agent.sh +++ b/simulation/s1/worker-agent.sh @@ -59,10 +59,12 @@ if [[ ! -f "${ROS_SETUP}" || ! -f "${PX4_MSGS_SETUP}" ]]; then exit 2 fi +set +u # shellcheck disable=SC1090 source "${ROS_SETUP}" # shellcheck disable=SC1090 source "${PX4_MSGS_SETUP}" +set -u exec env \ ROS_DOMAIN_ID=0 \