Browse Source

Reverted to master version

pull/351/head
Daniel Gibbs 10 years ago
parent
commit
18b302091b
  1. 9
      functions/fn_validate

9
functions/fn_validate

@ -24,14 +24,15 @@ cd "${rootdir}"
cd "steamcmd"
./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" validate +quit|tee -a "${scriptlog}"
fn_scriptlog "Checking complete"
}
fn_check_root
fn_check_systemdir
tmuxwc=$(tmux list-sessions 2>&1|awk '{print $1}'|grep -v failed|grep -Ec "^${servicename}:")
if [ "${tmuxwc}" -eq 1 ]; then
fn_stop
fn_validation
fn_start
fn_stop
fn_validation
fn_start
else
fn_validation
fn_validation
fi

Loading…
Cancel
Save