aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index a16812ca91..4f479ce858 100755
--- 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
}