mirror of
https://github.com/aclist/dztui.git
synced 2024-12-28 21:32:36 +01:00
Bump version
This commit is contained in:
parent
6860541f5b
commit
c9df7f86e8
2 changed files with 9 additions and 5 deletions
|
@ -6,6 +6,10 @@
|
|||
- Standardize dialogs
|
||||
- Validate BM API key
|
||||
|
||||
## [3.1.1-2] 2022-12-03
|
||||
### Fixed
|
||||
- Fix lockfile path
|
||||
|
||||
## [3.1.0] 2022-12-03
|
||||
### Added
|
||||
- Recent connect history
|
||||
|
|
10
dzgui.sh
10
dzgui.sh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -o pipefail
|
||||
version=3.1.1
|
||||
version=3.1.2
|
||||
|
||||
aid=221100
|
||||
game="dayz"
|
||||
|
@ -1712,10 +1712,10 @@ while true; do
|
|||
done
|
||||
}
|
||||
lock(){
|
||||
if [[ ! -f $config_path/.lockfile ]]; then
|
||||
touch $config_path/.lockfile
|
||||
if [[ ! -f ${config_path}.lockfile ]]; then
|
||||
touch ${config_path}.lockfile
|
||||
fi
|
||||
pid=$(cat $config_path/.lockfile)
|
||||
pid=$(cat ${config_path}.lockfile)
|
||||
ps -p $pid -o pid= >/dev/null 2>&1
|
||||
res=$?
|
||||
if [[ $res -eq 0 ]]; then
|
||||
|
@ -1725,7 +1725,7 @@ lock(){
|
|||
elif [[ $pid == $$ ]]; then
|
||||
:
|
||||
else
|
||||
echo $$ > $config_path/.lockfile
|
||||
echo $$ > ${config_path}.lockfile
|
||||
fi
|
||||
}
|
||||
fetch_helpers(){
|
||||
|
|
Loading…
Reference in a new issue