aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/base-files/files/lib/upgrade/fwtool.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/files/lib/upgrade/fwtool.sh b/package/base-files/files/lib/upgrade/fwtool.sh
index 3826bf5c30..a45f3bbc73 100644
--- a/package/base-files/files/lib/upgrade/fwtool.sh
+++ b/package/base-files/files/lib/upgrade/fwtool.sh
@@ -81,12 +81,12 @@ fwtool_check_image() {
done
v "Device $device not supported by this image"
- vn "Supported devices:"
+ local devices="Supported devices:"
for k in $dev_keys; do
json_get_var dev "$k"
- _vn " $dev"
+ devices="$devices $dev"
done
- _v
+ v "$devices"
return 1
}