gpio-keyboard-driver: Update script for errors
Print and exit correctly on error conditions Signed-off-by: Nicholas Mello <nick@nmello.dev>
This commit is contained in:
@@ -19,4 +19,8 @@ case "$1" in
|
||||
stop
|
||||
start
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: Must be start, stop, or restart"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user