Commit 0abd37f
committed
pkg/ifaceprobe: note error only when res.Err is not null
Seeing iface-probe run exits abnormally:
```
[FATAL] interface probing failed: failed to execute prog: %!w(<nil>) (Crashed)
r0 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/sys/devices/pci0000:00/0000:00:01.1/
ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/scheduler', 0x1, 0x0)
write(r0, &(0x7f0000000100)=' ', 0x1)
exit status 1
```
The node to have this `%!w(nil>) (Crashed)` is random, but
continue when res.Err is null bypass the problem.1 parent 77908e5 commit 0abd37f
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
| |||
0 commit comments