1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 15:32:01 +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
init() {
if [ "$(is_initialized)" = yes ]; then
if [ "$(is_initialized 2>/dev/null)" = yes ]; then
start
exit $?
fi