scripts: fix wrong usage of '==' operator
[openwrt.git] / package / base-files / files / lib / functions / uci-defaults.sh
index 798d6ba..6ed0bf1 100644 (file)
@@ -140,7 +140,7 @@ EOF
 
 ucidef_commit_leds()
 {
-       [ "$UCIDEF_LEDS_CHANGED" == "1" ] && uci commit system
+       [ "$UCIDEF_LEDS_CHANGED" = "1" ] && uci commit system
 }
 
 ucidef_set_interface_loopback() {