From 6d8337036dccbb637a3a5bf9dc0c6a61e8f8cd2c Mon Sep 17 00:00:00 2001 From: Emilio Perez Date: Tue, 19 Mar 2024 10:42:18 +0000 Subject: [PATCH] led-daemon: fix invalid exit code --- rootfs/led-daemon/led-daemon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/led-daemon/led-daemon b/rootfs/led-daemon/led-daemon index c001337..673315f 100755 --- a/rootfs/led-daemon/led-daemon +++ b/rootfs/led-daemon/led-daemon @@ -25,7 +25,7 @@ DIA_LED_OFFSET=50 if [ ! -e /sys/class/gpio/gpiochip${GPIO_BASE} ]; then echo "Unknown GPIO chip" - exit -1 + exit 1 fi # Configure and check for presence of LED. Call thus: