Skip to content

Commit

Permalink
refactor: update lock file path in core_steamcmd.sh
Browse files Browse the repository at this point in the history
The lock file path in the core_steamcmd.sh script has been updated to use the correct variable. This change ensures that the lock file is created in the correct directory.
  • Loading branch information
dgibbs64 committed Jul 30, 2023
1 parent b4c6a2a commit 0c716de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lgsm/modules/core_steamcmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ fn_update_steamcmd_compare() {
fn_firstcommand_reset
fi
unset exitbypass
date +%s > last-updated.lock"
date +%s > "${lockdir:?}/last-updated.lock"
alert="update"
elif [ "${commandname}" == "CHECK-UPDATE" ]; then
alert="check-update"
Expand Down

0 comments on commit 0c716de

Please sign in to comment.