From c718f3940d6546f83cc14c4f121d52470a705c31 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 17 May 2019 15:35:20 +0200 Subject: device: fail to give bind if it doesn't exist --- device/device.go | 1 + 1 file changed, 1 insertion(+) (limited to 'device/device.go') diff --git a/device/device.go b/device/device.go index ef269f5..fa7ed88 100644 --- a/device/device.go +++ b/device/device.go @@ -133,6 +133,7 @@ func deviceUpdateState(device *Device) { switch newIsUp { case true: if err := device.BindUpdate(); err != nil { + device.log.Error.Printf("Unable to update bind: %v\n", err) device.isUp.Set(false) break } -- cgit v1.2.3