Change conditional operator

This commit is contained in:
aclist committed 2022-10-09 11:29:22 +09:00
1 parent 09352b2f0b
commit e40eecd9e3
1 file changed
+2 -5
+2 -5
View File
@@ -1,7 +1,7 @@
#!/bin/bash
set -o pipefail
version=2.8.0-rc.22
version=2.8.0-rc.23
aid=221100
game="dayz"
@@ -81,7 +81,7 @@ depcheck(){
done
}
watcher_deps(){
if [[ ! $(command -v wmctrl) ]] || [[ ! $(command -v xdotool) ]]; then
if [[ ! $(command -v wmctrl) ]] && [[ ! $(command -v xdotool) ]]; then
echo "100"
warn "Requires wmctrl or xdotool"
exit 1
@@ -1591,9 +1591,6 @@ while true; do
fi
done
}
#cleanup(){
# rm $config_path/.lockfile
#}
lock(){
if [[ ! -f $config_path/.lockfile ]]; then
touch $config_path/.lockfile