aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-02-03 10:24:02 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-05-17 01:00:14 +0200
commite0c6506158fa4bba3f2b8ed3b56264099513eee2 (patch)
tree9c66bfc0fe5aa3fff337e6f46810f7d64ba8af7a /package
parentcf3f1f82eaa95c72b3b2620c6da15a81f8d57ba7 (diff)
downloadupstream-e0c6506158fa4bba3f2b8ed3b56264099513eee2.tar.gz
upstream-e0c6506158fa4bba3f2b8ed3b56264099513eee2.tar.bz2
upstream-e0c6506158fa4bba3f2b8ed3b56264099513eee2.zip
base-files: change logging for upgrade on fwtool
Remove vn call in favour of v call. This commit serves as preparation for removing the v function call. Signed-off-by: Florian Eckert <fe@dev.tdt.de> [alter slightly to prevent double space after colon] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package')
-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
}