Explorar o código

Fix code quality suggestion.

Vector Sigma %!s(int64=7) %!d(string=hai) anos
pai
achega
06d698ef9d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/fix_tf2.sh

+ 1 - 1
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