From: Florian Eckert Date: Wed, 3 Feb 2021 09:24:02 +0000 (+0100) Subject: base-files: change logging for upgrade on fwtool X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e0c6506158fa4bba3f2b8ed3b56264099513eee2;p=openwrt%2Fstaging%2Fthess.git 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 [alter slightly to prevent double space after colon] Signed-off-by: Adrian Schmutzler --- 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 }