Commit bd3d23f
panjunxun
fix(multipath): Replace
`errors.Is` can't handle `*exec.ExitError` correctly. Use `errors.As` to ensure capturing and handling non - zero exit code errors.errors.Is with errors.As for error type checking1 parent dd26709 commit bd3d23f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments