aboutsummaryrefslogtreecommitdiffstats
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
parent2711b94932a01ecd00ee9cfba7dcbb1cf4fe2517 (diff)
downloadupstream-727e244faec8ec8e0004a2b772d1a9424f0c9d5d.tar.gz
upstream-727e244faec8ec8e0004a2b772d1a9424f0c9d5d.tar.bz2
upstream-727e244faec8ec8e0004a2b772d1a9424f0c9d5d.zip
bcm53xx: suppress osafeloader info error messages during flashing
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-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 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