Parcourir la source

dnsmasq: remove a useless subshell invocation from the init script

SVN-Revision: 23272
Jo-Philipp Wich il y a 15 ans
Parent
commit
8c33c86021
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      package/dnsmasq/files/dnsmasq.init

+ 1 - 1
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