diff --git a/package/base-files/files/lib/upgrade/fwtool.sh b/package/base-files/files/lib/upgrade/fwtool.sh index 3826bf5c303..a45f3bbc731 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 }