Skip to content

Commit

Permalink
In init(), it's quite okay to have is_initialized() fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Sep 24, 2019
1 parent d5c6b92 commit cc50ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CONFIG_FILE_TEMPLATE="${CONF_DIR}/encrypted-dns.toml.in"
# -N provider-name -E external-ip-address:port

init() {
if [ "$(is_initialized)" = yes ]; then
if [ "$(is_initialized 2>/dev/null)" = yes ]; then
start
exit $?
fi
Expand Down

0 comments on commit cc50ba8

Please sign in to comment.