From 9e052c9bd30254dc1f196df15341a6b2a6cf68f9 Mon Sep 17 00:00:00 2001 From: George Sexton Date: Mon, 9 Sep 2024 16:48:49 -0600 Subject: [PATCH] Fix lint errors on various close statements. --- gpioioctl/gpio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpioioctl/gpio.go b/gpioioctl/gpio.go index dea3fa2..556b43d 100644 --- a/gpioioctl/gpio.go +++ b/gpioioctl/gpio.go @@ -399,7 +399,7 @@ func (chip *GPIOChip) Close() { for _, line := range chip.lines { if line.fd != 0 { - _ = line.Close() + line.Close() } } for _, lineset := range chip.lineSets {