summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-30 11:46:08 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-30 13:00:11 +0100
commit727e244faec8ec8e0004a2b772d1a9424f0c9d5d (patch)
treeb3be7e6d356fab89927b811279756b256b60d1ea /target/linux/bcm53xx/base-files
parent2711b94932a01ecd00ee9cfba7dcbb1cf4fe2517 (diff)
downloadmtk-20170518-727e244faec8ec8e0004a2b772d1a9424f0c9d5d.zip
mtk-20170518-727e244faec8ec8e0004a2b772d1a9424f0c9d5d.tar.gz
mtk-20170518-727e244faec8ec8e0004a2b772d1a9424f0c9d5d.tar.bz2
bcm53xx: suppress osafeloader info error messages during flashing
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/bcm53xx/base-files')
-rw-r--r--target/linux/bcm53xx/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
index eb6dc82..f2e007d 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