Skip to content

Commit

Permalink
led-daemon: fix invalid exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilioPeJu committed Mar 19, 2024
1 parent bfe0902 commit 6d83370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/led-daemon/led-daemon
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6d83370

Please sign in to comment.