improve test logic
This commit is contained in:
parent
5ff68740e5
commit
0c942feaff
@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
command -v setxkbmap
|
||||
if test $? -ne 0
|
||||
if ! command -v setxkbmap >/dev/null
|
||||
then
|
||||
echo "error, setxkbmap not found"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user