From 3724e78ab26cef335a829cf6fa6dfa6b59bd4929 Mon Sep 17 00:00:00 2001 From: Alter Step Date: Thu, 5 Jun 2014 09:57:00 -0700 Subject: [PATCH] Revert "Debug build, enable debug log" This reverts commit b036e93a6a01282e47bca5261ff48ba714760b74. --- DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/common.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/common.inc b/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/common.inc index 6b9d3e1..9fe511e 100644 --- a/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/common.inc +++ b/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/common.inc @@ -59,6 +59,7 @@ init_interfaces() { } logger_debug() { + [ -f "$DEBUG_ENABLED_FILE" ] || return lockfile -1 -r 1 "$DEBUG_LOG_FILE_LOCK" > /dev/null 2>&1 echo "$(date) - $1" >> "$DEBUG_LOG_FILE" rm -f "$DEBUG_LOG_FILE_LOCK" 2> /dev/null