diff --git a/wgengine/userspace.go b/wgengine/userspace.go index 0bb1e319b..79ca15d40 100644 --- a/wgengine/userspace.go +++ b/wgengine/userspace.go @@ -388,7 +388,9 @@ func NewUserspaceEngine(logf logger.Logf, conf Config) (_ Engine, reterr error) }() e.logf("Bringing wireguard device up...") - e.wgdev.Up() + if err := e.wgdev.Up(); err != nil { + return nil, fmt.Errorf("wgdev.Up(): %w", err) + } e.logf("Bringing router up...") if err := e.router.Up(); err != nil { return nil, err