From: Michael Tremer Date: Mon, 31 Oct 2011 21:47:31 +0000 (+0000) Subject: Fix reading DEBUG option from configuration file. X-Git-Tag: 004~97^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32b5856820dc10a14905bf2c62dbfc17ecb7a7e8;p=network.git Fix reading DEBUG option from configuration file. --- diff --git a/functions.util b/functions.util index 7da58f7a..953df22a 100644 --- a/functions.util +++ b/functions.util @@ -164,7 +164,9 @@ function network_config_read() { config_read ${CONFIG_FILE} - DEBUG=${debug} + if [ -n "${debug}" ]; then + DEBUG=${debug} + fi } function network_config_write() {