From: Jo-Philipp Wich Date: Wed, 6 Oct 2010 13:23:56 +0000 (+0000) Subject: dnsmasq: remove a useless subshell invocation from the init script X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8c33c86021965aff7ccd01b1a9c352318631840c;p=openwrt%2Fstaging%2Fjow.git dnsmasq: remove a useless subshell invocation from the init script SVN-Revision: 23272 --- diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 0b74d419e5..00882e5f51 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -102,7 +102,7 @@ dnsmasq() { [ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers config_get leasefile $cfg leasefile - [ -n "$leasefile" ] && ([ -e "$leasefile" ] || touch "$leasefile") + [ -n "$leasefile" ] && [ -e "$leasefile" ] || touch "$leasefile" config_get_bool cachelocal "$cfg" cachelocal 1 config_get hostsfile "$cfg" dhcphostsfile