Skip to content

Commit 11e5af4

Browse files
authoredOct 7, 2022
watchdog status: made coherent with other functions
1 parent d901d8b commit 11e5af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎strato

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ else
7171
echo 0 > /sys/class/gpio/gpio6/value
7272
;;
7373
status )
74-
if [[ $(cat /sys/class/gpio/gpio6/value) == "0" ]] ; then echo "disabled" ; else echo "enabled" ; fi
74+
exit $(cat /sys/class/gpio/gpio6/value)
7575
;;
7676
heartbeat )
7777
if [ $(cat /sys/class/gpio/gpio5/value) == 0 ]; then

0 commit comments

Comments
 (0)
Please sign in to comment.