Skip to content

Commit

Permalink
od: Fix S98usb.sh exiting rcS
Browse files Browse the repository at this point in the history
`exit` in a sourced script exits the entire `rcS`. Use `return 0` instead.

Signed-off-by: Gleb Mazovetskiy <[email protected]>
  • Loading branch information
glebm authored and pcercuei committed Dec 16, 2022
1 parent cd65bf0 commit 95af42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/opendingux/rs90/overlay/etc/init.d/S98usb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ case "$MODEL" in
ylm,rs90)
;;
*)
exit 0
return 0
;;
esac

Expand Down

0 comments on commit 95af42b

Please sign in to comment.