Return errors that happen inside WithNetNS

This commit is contained in:
Bryan Boreham committed 2016-03-10 15:18:16 +00:00
1 parent a57335738d
commit 35671135bd
1 file changed
+1 -1
+1 -1
View File
@@ -39,7 +39,7 @@ func WithNetNS(ns netns.NsHandle, work func() error) error {
}
}
return nil
return err
}
type NetDev struct {