diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-24 13:42:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-24 13:42:55 +0000 |
commit | c76cdd578157cdf9a218c88614dd8c3beb2df576 (patch) | |
tree | 0cf99d08f270ee10e4516f275478d34b5fa0fc85 | |
parent | ea952312aeac15b17c68e7106457917ec19eb547 (diff) | |
download | mtk-20170518-c76cdd578157cdf9a218c88614dd8c3beb2df576.zip mtk-20170518-c76cdd578157cdf9a218c88614dd8c3beb2df576.tar.gz mtk-20170518-c76cdd578157cdf9a218c88614dd8c3beb2df576.tar.bz2 |
fix uci commit
SVN-Revision: 6665
-rwxr-xr-x | package/base-files/files/bin/uci | 2 |
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 } |