Explorar el Código

added servercfgfullpath dir check for NS2

Daniel Gibbs hace 9 años
padre
commit
11f4a30356
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      lgsm/functions/command_details.sh

+ 2 - 0
lgsm/functions/command_details.sh

@@ -227,6 +227,8 @@ fn_details_script(){
 		if [ -n "${servercfgfullpath}" ]; then
 			if [ -f "${servercfgfullpath}" ]; then
 				echo -e "${blue}Config file:\t${default}${servercfgfullpath}"
+			elif [ -d "${servercfgfullpath}" ]; then
+				echo -e "${blue}Config dir:\t${default}${servercfgfullpath}"
 			else
 				echo -e "${blue}Config file:\t${default}${red}${servercfgfullpath}${default} (${red}FILE MISSING${default})"
 			fi