Explorar el Código

Fix code quality suggestion.

Vector Sigma hace 7 años
padre
commit
06d698ef9d
Se han modificado 1 ficheros con 1 adiciones y 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