Fixes error message on error in carrier file 61/310861/1
authorDaniil Ruban <intx82@gmail.com>
Thu, 9 May 2024 05:05:25 +0000 (07:05 +0200)
committerDaniil Ruban <intx82@gmail.com>
Thu, 9 May 2024 05:06:13 +0000 (07:06 +0200)
commit9aa935fdfc3d289fa84154743bfcd6f9f8467356
tree8278026ea19c60cbcdbafe49e4a5cce81ee4fd12
parent0054e71229994a9f2c268b1c4b4425a030a0fdd8
Fixes error message on error in carrier file

- Fix based on https://bugzilla.redhat.com/show_bug.cgi?id=1253797
- In short: If on read carrier file EINVAL happens - that's not an error, but shows that interface is disabled

Change-Id: I92f660e6e214f3ba7d710fcf192952550a947bd8
Signed-off-by: Daniil Ruban <intx82@gmail.com>
src/network-monitor.c