oops, return instead of exit

This commit is contained in:
Von Random 2019-03-12 14:20:33 +03:00
parent 8dd33d4937
commit 8e4fd74604

View file

@ -7,7 +7,7 @@ DEVNAME='ETPS/2 Elantech Touchpad'
case $? in
(1|'on') toggle='enable' flag_action=('rm' '-f');;
(0|'off') toggle='disable' flag_action=('touch');;
(*) return 1;;
(*) exit 1;;
esac
notification_msg="Touchpad ${toggle}d"
xinput $toggle $DEVNAME