Skip to content

Commit

Permalink
chore: fix env file check
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Gehrsitz <[email protected]>
  • Loading branch information
mryel00 committed Nov 22, 2023
1 parent 1a0af83 commit 4a588af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/libs/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 4a588af

Please sign in to comment.