Skip to content

Commit 43f2721

Browse files
committed
bug fix
1 parent 00361cf commit 43f2721

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/system/etc/init.d/99dnscrypt.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ check_health () {
4242
export "$KEY=$VALUE"
4343
done < $LOCKFILE
4444

45-
if [ -z "${DNSCRYPT_RESOLV_PATH:-}" ]; then
45+
if [ -z "${DNSCRYPT_RESOLV_PATH+x}" ]; then
4646
confdir=${DNSCRYPT_RESOLV_PATH:-`dirname "$CONFIG_FILE"`}
4747

4848
resolvers=$(ls $confdir/*.md 2>/dev/null)
@@ -56,7 +56,7 @@ check_health () {
5656
done
5757
fi
5858

59-
if [ -z "${DNSCRYPT_ADDR_LOCK:-}" ]; then
59+
if [ -z "${DNSCRYPT_ADDR_LOCK+x}" ]; then
6060
log_debug_msg "ipv4_addr_unlock: enable IPv4"
6161
ipv4_addr_unlock
6262
fi

0 commit comments

Comments
 (0)