diff --git a/global/overlay/usr/local/bin/run-cosmos b/global/overlay/usr/local/bin/run-cosmos index 21bf5b0..7274b62 100755 --- a/global/overlay/usr/local/bin/run-cosmos +++ b/global/overlay/usr/local/bin/run-cosmos @@ -102,8 +102,8 @@ machine_is_healthy() { # shellcheck source=/dev/null . $FLEETLOCK_CONFIG || return 1 if [ -n "$fleetlock_healthcheck_timeout" ]; then - optional_args+=("--timeout") - optional_args+=("$fleetlock_healthcheck_timeout") + optional_args+=("--timeout") + optional_args+=("$fleetlock_healthcheck_timeout") fi echo "Running any health checks" $HEALTHCHECK_TOOL "${optional_args[@]}" || return 1