Skip to content

Commit

Permalink
rc.common: gpio_control: no error on empty var
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Aug 23, 2024
1 parent 87375d0 commit 6afa14a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion overlay/lower/etc/init.d/rc.common
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ gpio_control(){
gpio_power="$(get "$gpio_name")"

if [ -z "$gpio_power" ]; then
warn "GPIO power value for $gpio_name is empty"
return 1 # Return 1 if the value is empty
fi

Expand Down

0 comments on commit 6afa14a

Please sign in to comment.