Skip to content

Commit 2297d36

Browse files
committed
feat: moved last-updated.lock file
1 parent 13c6243 commit 2297d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lgsm/modules/update_ts3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ fn_update_compare() {
9797
fn_script_log_info "${localbuild} > ${remotebuildversion}"
9898

9999
if [ "${commandname}" == "UPDATE" ]; then
100+
date +%s > "${lockdir}/last-updated.lock"
100101
unset updateonstart
101102
check_status.sh
102103
# If server stopped.
@@ -124,7 +125,6 @@ fn_update_compare() {
124125
fn_firstcommand_reset
125126
fi
126127
unset exitbypass
127-
date +%s > "${lockdir}/last-updated.lock"
128128
alert="update"
129129
elif [ "${commandname}" == "CHECK-UPDATE" ]; then
130130
alert="check-update"

0 commit comments

Comments
 (0)