ipv6-support: Fix typo in dhcpv6-script * thanks to KarlHegbloom for reporting
[openwrt/openwrt.git] / package / network / ipv6 / ipv6-support / files / dhcpv6.sh
index 25355bedf2b135e281c2254dd04af5ec34cbffd9..299cf99f3d1322c632cf247e5c50742f92259a17 100755 (executable)
@@ -30,7 +30,7 @@ setup_prefix_fallback "$fallback" "$network" "$device"
 
 
 # Operations in case of success
-[ "$state" == "timeout" || "$state" == "unbound" ] && exit 0
+[ "$state" == "timeout" -o "$state" == "unbound" ] && exit 0
 
 local peerdns
 config_get_bool peerdns "$network" peerdns 1