diff options
author | Von Random <von@vdrandom.org> | 2019-03-12 14:20:33 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2019-03-12 14:20:33 +0300 |
commit | 8e4fd746045b445062b90c7118b186dc1d117ef2 (patch) | |
tree | 44b1c708bf9c38fb30204ccf93f55a3c089954ca | |
parent | 8dd33d49372633fdf778cbb40b1cb7f214c85eb6 (diff) |
oops, return instead of exit
-rwxr-xr-x | touchpad-toggle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/touchpad-toggle b/touchpad-toggle index c5560c7..8754f98 100755 --- a/touchpad-toggle +++ b/touchpad-toggle @@ -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 |