From 67c9eb7b1fcc1a6ac9049cf52e9106aae9392b1e Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 30 Apr 2017 21:31:09 +0100 Subject: [PATCH] added check for csco --- lgsm/functions/command_validate.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lgsm/functions/command_validate.sh b/lgsm/functions/command_validate.sh index eb6d13c15..7900be071 100644 --- a/lgsm/functions/command_validate.sh +++ b/lgsm/functions/command_validate.sh @@ -51,10 +51,18 @@ check_status.sh if [ "${status}" != "0" ]; then exitbypass=1 command_stop.sh - fn_validation + fn_validation "${appid}" + # will also check for second appid + if [ "${gamename}" == "Classic Offensive" ]; then + fn_validation "${appid_co}" + fi exitbypass=1 command_start.sh else fn_validation + # will also check for second appid + if [ "${gamename}" == "Classic Offensive" ]; then + fn_validation "${appid_co}" + fi fi core_exit.sh