summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackage/base-files/files/bin/uci2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/bin/uci b/package/base-files/files/bin/uci
index 4df8f33..90098f0 100755
--- a/package/base-files/files/bin/uci
+++ b/package/base-files/files/bin/uci
@@ -86,7 +86,7 @@ do_remove() {
do_commit() {
local PACKAGE="$1"
for package in ${PACKAGE:-$(cd /tmp/.uci; ls)}; do
- [ "${package##.*}" != "$package" ] && continue # ignore .lock files
+ [ lock = "${package##*.}" ] && continue # ignore .lock files
uci_commit "$package"
done
}