fix: return from lockfile function

This commit is contained in:
aclist committed 2023-05-11 10:28:19 +09:00
1 parent 046a617b62
commit d4c0dd4031
2 files changed
+12 -1

No files matched your search

+2 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash
set -o pipefail
version=3.3.0-rc.23
version=3.3.0-rc.24
aid=221100
game="dayz"
@@ -1801,6 +1801,7 @@ while true; do
done
}
lock(){
[[ ! -d $config_path ]] && return
if [[ ! -f ${config_path}.lockfile ]]; then
touch ${config_path}.lockfile
fi