oops, return instead of exit
This commit is contained in:
parent
8dd33d4937
commit
8e4fd74604
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ DEVNAME='ETPS/2 Elantech Touchpad'
|
||||||
case $? in
|
case $? in
|
||||||
(1|'on') toggle='enable' flag_action=('rm' '-f');;
|
(1|'on') toggle='enable' flag_action=('rm' '-f');;
|
||||||
(0|'off') toggle='disable' flag_action=('touch');;
|
(0|'off') toggle='disable' flag_action=('touch');;
|
||||||
(*) return 1;;
|
(*) exit 1;;
|
||||||
esac
|
esac
|
||||||
notification_msg="Touchpad ${toggle}d"
|
notification_msg="Touchpad ${toggle}d"
|
||||||
xinput $toggle $DEVNAME
|
xinput $toggle $DEVNAME
|
||||||
|
|
Loading…
Reference in a new issue