From 1819b7e2244f2ef0ed2a2900be01a9eeb6484a52 Mon Sep 17 00:00:00 2001 From: zhongwencool Date: Mon, 5 Sep 2022 17:34:29 +0800 Subject: [PATCH] chore: update rel/emqx_vars Co-authored-by: Zaiming (Stone) Shi --- rel/emqx_vars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rel/emqx_vars b/rel/emqx_vars index 255777f9a..58d20515a 100644 --- a/rel/emqx_vars +++ b/rel/emqx_vars @@ -12,7 +12,7 @@ IS_ELIXIR="${IS_ELIXIR:-{{ is_elixir }}}" ## Allow users to pre-set `RUNNER_LOG_DIR` because it only affects boot commands like `start` and `console`, ## but not other commands such as `ping` and `ctl`. -if [ -z "${RUNNER_LOG_DIR:-}" ]; then +RUNNER_LOG_DIR="${RUNNER_LOG_DIR:-{{ runner_log_dir }}}" RUNNER_LOG_DIR="{{ runner_log_dir }}" fi