diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-01-30 11:46:08 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 14:15:09 +0100 |
commit | 82615922b0368d8f27b608310daeea3a77aaa6d0 (patch) | |
tree | c64c48b1235208259005763cacd976d6b551fe09 /target/linux/bcm53xx/base-files/lib | |
parent | c566a9e563837ec55d8e8739190a90337948143d (diff) | |
download | upstream-82615922b0368d8f27b608310daeea3a77aaa6d0.tar.gz upstream-82615922b0368d8f27b608310daeea3a77aaa6d0.tar.bz2 upstream-82615922b0368d8f27b608310daeea3a77aaa6d0.zip |
bcm53xx: suppress osafeloader info error messages during flashing
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 727e244faec8ec8e0004a2b772d1a9424f0c9d5d)
Diffstat (limited to 'target/linux/bcm53xx/base-files/lib')
-rw-r--r-- | target/linux/bcm53xx/base-files/lib/upgrade/platform.sh | 2 |
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 |