projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[toolchain] uClibc: fix build error on ARM targets (closes #5473)
[openwrt.git]
/
package
/
uci
/
files
/
lib
/
config
/
uci.sh
diff --git
a/package/uci/files/lib/config/uci.sh
b/package/uci/files/lib/config/uci.sh
index
f5d8ddc
..
38f3097
100644
(file)
--- a/
package/uci/files/lib/config/uci.sh
+++ b/
package/uci/files/lib/config/uci.sh
@@
-60,7
+60,7
@@
uci_set_state() {
local OPTION="$3"
local VALUE="$4"
- [
-z "$VALUE" ] &&
return 0
+ [
"$#" = 4 ] ||
return 0
/sbin/uci -P /var/state set "$PACKAGE.$CONFIG${OPTION:+.$OPTION}=$VALUE"
}
This page took
0.020807 seconds
and
4
git commands to generate.