mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-23 01:05:32 +00:00
net/dns: return error from NewOSManager, use it to initialize NM.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
@@ -120,8 +120,8 @@ func isResolvedRunning() bool {
|
||||
// or as cleanup if the program terminates unexpectedly.
|
||||
type directManager struct{}
|
||||
|
||||
func newDirectManager() directManager {
|
||||
return directManager{}
|
||||
func newDirectManager() (directManager, error) {
|
||||
return directManager{}, nil
|
||||
}
|
||||
|
||||
// ownedByTailscale reports whether /etc/resolv.conf seems to be a
|
||||
|
Reference in New Issue
Block a user