From 06d698ef9d6167829fe906cd61e327486da013e9 Mon Sep 17 00:00:00 2001 From: Vector Sigma Date: Sun, 28 Oct 2018 18:41:27 -0700 Subject: [PATCH] Fix code quality suggestion. --- lgsm/functions/fix_tf2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/fix_tf2.sh b/lgsm/functions/fix_tf2.sh index f930a21b4..a0239e45a 100644 --- a/lgsm/functions/fix_tf2.sh +++ b/lgsm/functions/fix_tf2.sh @@ -10,7 +10,7 @@ local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" if [[ -f /etc/redhat-release ]]; then echo "Applying missing libcurl-gnutls.so.4 fix for Redhat-based systems." - cd ${serverfiles}/bin + cd ${serverfiles}/bin || exit if [[ -L libcurl-gnutls.so.4 ]]; then echo "Fix already applied." else