Skip to content

Commit

Permalink
feat: moved last-updated.lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Sep 25, 2023
1 parent 13c6243 commit 2297d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lgsm/modules/update_ts3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ fn_update_compare() {
fn_script_log_info "${localbuild} > ${remotebuildversion}"

if [ "${commandname}" == "UPDATE" ]; then
date +%s > "${lockdir}/last-updated.lock"
unset updateonstart
check_status.sh
# If server stopped.
Expand Down Expand Up @@ -124,7 +125,6 @@ fn_update_compare() {
fn_firstcommand_reset
fi
unset exitbypass
date +%s > "${lockdir}/last-updated.lock"
alert="update"
elif [ "${commandname}" == "CHECK-UPDATE" ]; then
alert="check-update"
Expand Down

0 comments on commit 2297d36

Please sign in to comment.