projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: fix platform_find_rootfspart()
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index a16812ca9199fdd1fe39d99196c69a1e5fa6098a..4f479ce8585df7988ebe1492b614bd5c27109ee8 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-46,7
+46,7
@@
platform_find_kernelpart() {
platform_find_rootfspart() {
local part
for part in "${1%:*}" "${1#*:}"; do
- [ "$part" != "$2" ] && echo "$part"
;
break
+ [ "$part" != "$2" ] && echo "$part"
&&
break
done
}