From 18b302091b2cc4d5d0d99e65d950fdac1ab793a2 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 23 Apr 2015 14:34:44 +0100 Subject: [PATCH] Reverted to master version --- functions/fn_validate | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/functions/fn_validate b/functions/fn_validate index ac2033e9b..484666019 100644 --- a/functions/fn_validate +++ b/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