mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 23:07:44 +00:00
net/dns: log the correct error when NM Reapply fails.
Found while debugging #1870. Signed-off-by: David Anderson <danderson@tailscale.com> (cherry picked from commit 5bd38b10b49ec6446560d0da3ce67beaed69f68e)
This commit is contained in:
parent
71bcaae29e
commit
f2a38320f8
@ -260,7 +260,7 @@ func (m *nmManager) trySet(ctx context.Context, config OSConfig) error {
|
||||
}
|
||||
|
||||
if call := device.CallWithContext(ctx, "org.freedesktop.NetworkManager.Device.Reapply", 0, settings, version, uint32(0)); call.Err != nil {
|
||||
return fmt.Errorf("reapply: %w", err)
|
||||
return fmt.Errorf("reapply: %w", call.Err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user