1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 19:42:03 +01:00

In init(), it's quite okay to have is_initialized() fail

This commit is contained in:
Frank Denis 2019-09-24 17:51:56 +02:00
parent d5c6b92a4b
commit cc50ba89ff

@ -13,7 +13,7 @@ CONFIG_FILE_TEMPLATE="${CONF_DIR}/encrypted-dns.toml.in"
# -N provider-name -E external-ip-address:port # -N provider-name -E external-ip-address:port
init() { init() {
if [ "$(is_initialized)" = yes ]; then if [ "$(is_initialized 2>/dev/null)" = yes ]; then
start start
exit $? exit $?
fi fi