summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/config
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/config')
-rw-r--r--package/base-files/files/lib/config/uci.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/config/uci.sh b/package/base-files/files/lib/config/uci.sh
index da6ecab51..a53938835 100644
--- a/package/base-files/files/lib/config/uci.sh
+++ b/package/base-files/files/lib/config/uci.sh
@@ -90,7 +90,7 @@ uci_set() {
( # spawn a subshell so you don't mess up the current environment
uci_load "$PACKAGE"
config_get OLDVAL "$CONFIG" "$OPTION"
- if [ "$OLDVAL" != "$VALUE" ]; then
+ if [ "x$OLDVAL" != "x$VALUE" ]; then
config_get type "$CONFIG" TYPE
[ -z "$type" ]
fi