From d4c0dd40310fec094551f9a80c409960c6dcfd08 Mon Sep 17 00:00:00 2001 From: aclist Date: Thu, 11 May 2023 10:28:19 +0900 Subject: [PATCH] fix: return from lockfile function --- changelog.md | 10 ++++++++++ dzgui.sh | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 065a239..16a4bac 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,16 @@ - Custom query API - Standardize dialogs +## [3.3.0-rc.24] 2023-05-10 +### Fixed +- Return from lockfile function if first time setup is not complete + +## [3.3.0-rc.23] 2023-05-10 +### Fixed +- Display correct players in-game count +### Changed +- Make file picker method more robust + ## [3.3.0-rc.22] 2023-05-10 ### Changed - Display canonical dir name of mods in list installed mods menu diff --git a/dzgui.sh b/dzgui.sh index 27fc735..312a776 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -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