bcm53xx: suppress osafeloader info error messages during flashing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 727e244fae)
This commit is contained in:
Felix Fietkau 2017-01-30 11:46:08 +01:00 committed by Jo-Philipp Wich
parent c566a9e563
commit 82615922b0

View File

@ -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