Skip to content

Commit

Permalink
validate
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Oct 6, 2024
1 parent 5e6ee0e commit 1350fe6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lgsm/modules/command_validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
fn_firstcommand_set

fn_validate() {
fn_print_warn "Validate might overwrite some customised files"
fn_print_warn ": SteamCMD: Validate might overwrite some customised files"
fn_script_log_warn "${commandaction} server: Validate might overwrite some customised files"
totalseconds=3
for seconds in {3..1}; do
fn_print_warn "Validate might overwrite some customised files: ${totalseconds}"
fn_print_warn ": SteamCMD: Validate might overwrite some customised files: ${totalseconds}"
totalseconds=$((totalseconds - 1))
fn_sleep_time_1
if [ "${seconds}" == "0" ]; then
break
fi
done
fn_print_warn_nl "Validate might overwrite some customised files"
fn_print_warn_nl ": SteamCMD: Validate might overwrite some customised files"
date '+%s' > "${lockdir:?}/update.lock"
fn_dl_steamcmd
}
Expand Down

0 comments on commit 1350fe6

Please sign in to comment.