From cc50ba89ff29d154c105a247770fb6fd0fcd1110 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 24 Sep 2019 17:51:56 +0200 Subject: [PATCH] In init(), it's quite okay to have is_initialized() fail --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 614aabe..5356675 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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