Browse Source

refactor: update lock file path in core_steamcmd.sh

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.
pull/4296/head
Daniel Gibbs 2 years ago
parent
commit
0c716deb0b
  1. 2
      lgsm/modules/core_steamcmd.sh

2
lgsm/modules/core_steamcmd.sh

@ -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"

Loading…
Cancel
Save