]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/init.d/networking/dhcpcd.exe
dhcp: Fix syntax error in dhcpcd.exe.
[ipfire-2.x.git] / src / initscripts / init.d / networking / dhcpcd.exe
index ac835c5b9ececccdcad03dc9a161e94bb2855464..d61c3d5f0243d9551883c8c302334df5af480c23 100644 (file)
@@ -39,7 +39,7 @@ dhcpcd_up()
                fi
 
                #Check if we have to restart the services at update
-               [ ! -e "/var/ipfire/red/active" ] update=1;
+               [ ! -e "/var/ipfire/red/active" ] && update=1;
                if [ "$old_domain_name_service" != "$new_domain_name_service" ]; then
                        update=1;
                fi