1
0
mirror of https://github.com/pi-hole/docker-pi-hole.git synced 2024-06-21 06:56:53 +02:00

The debug printing logic was inverted here. Left on without debug enabled, turned off when debug was enabled

Signed-off-by: Adam Hill <adam@diginc.us>
This commit is contained in:
Adam Hill 2018-10-16 19:14:02 -05:00
parent 7c12efc851
commit f1b34887f8
No known key found for this signature in database
GPG Key ID: 2193804FCA429855

View File

@ -248,7 +248,7 @@ setup_web_password() {
else
pihole -a -p "$PASS" "$PASS"
fi
if [ "${PH_VERBOSE:-0}" -gt 0 ] ; then
if [ "${PH_VERBOSE:-0}" -lt 1 ] ; then
# Turn bash debug back off after print password setup
# (subshell to null hides printing output)
{ set +x; } 2>/dev/null