From 4a588af92c19b943388050c6849ecf5d5e724d7f Mon Sep 17 00:00:00 2001 From: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com> Date: Sat, 18 Nov 2023 14:07:27 +0100 Subject: [PATCH] chore: fix env file check Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com> --- tools/libs/core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libs/core.sh b/tools/libs/core.sh index 279e8819..23ebed4b 100755 --- a/tools/libs/core.sh +++ b/tools/libs/core.sh @@ -222,7 +222,7 @@ install_env_file() { sudo -u "${BASE_USER}" cp -f "${env_file}" "${env_target}" sed -i "s|%CONFPATH%|${CROWSNEST_CONFIG_PATH}|" "${env_target}" [[ -f "${env_target}" ]] && - grep -q "${BASE_USER}" "${env_target}" || return 1 + grep -q "${CROWSNEST_CONFIG_PATH}" "${env_target}" || return 1 } install_logrotate_conf() {