From: Felix Fietkau Date: Mon, 30 Jan 2017 10:46:08 +0000 (+0100) Subject: bcm53xx: suppress osafeloader info error messages during flashing X-Git-Tag: v18.06.0-rc1~3886 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=727e244faec8ec8e0004a2b772d1a9424f0c9d5d bcm53xx: suppress osafeloader info error messages during flashing Signed-off-by: Felix Fietkau --- diff --git a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh index eb6dc823e3..f2e007db22 100644 --- a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh @@ -60,7 +60,7 @@ platform_identify() { return } - if osafeloader info "$1" > /dev/null; then + if osafeloader info "$1" > /dev/null 2>&1; then echo "safeloader" return fi