bcm53xx: suppress osafeloader info error messages during flashing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2017-01-30 11:46:08 +01:00
parent 2711b94932
commit 727e244fae

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