improve test logic

This commit is contained in:
a1346054
2022-09-03 00:39:32 +00:00
parent 5ff68740e5
commit 0c942feaff
+1 -2
View File
@@ -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