Commit 939df09
committed
driver/rawnetworkinterfacedriver: raise when tcpdump fails to start listening
If tcpdump exits cleanly without emitting "tcpdump: listening on"
(possibly due to the message being changed), readline() is called on a
closed stderr stream, resulting in confusing exceptions. Fix that by
raising a proper exception in that case.
Signed-off-by: Bastian Krause <bst@pengutronix.de>1 parent 63749cf commit 939df09
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
| 241 | + | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
| |||
0 commit comments