diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-07-30 14:25:24 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-07-30 14:25:24 +0400 |
commit | 0ed4c5db028113e245ec58cea30d1f77a42f84b6 (patch) | |
tree | a70ce20f7bd57e867d80b9ad75868997efc2803e /scripts | |
parent | e4c51cd225762095d45f6e56793e8ea232212b1b (diff) |
sdev: bug fix
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sdev | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/sdev b/scripts/sdev index ca2179a..c573cd7 100755 --- a/scripts/sdev +++ b/scripts/sdev @@ -66,8 +66,10 @@ while getopts "e:d:t:lh" option; do xenable "${id}" ;; l) - if ! xinput list 2 > /dev/null; then + if ! xinput list 2>/dev/null; then err "${0}: Listing Failed" + else + exit 0 fi ;; h) help; exit ;; |