Return errors that happen inside WithNetNS
This commit is contained in:
1 parent
a57335738d
commit
35671135bd
1 file changed
+1
-1
+1
-1
@@ -39,7 +39,7 @@ func WithNetNS(ns netns.NsHandle, work func() error) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
type NetDev struct {
|
type NetDev struct {
|
||||||
|
|||||||
Reference in new issue
Block a user