Kaynağa Gözat

added servercfgfullpath dir check for NS2

Daniel Gibbs 9 yıl önce
ebeveyn
işleme
11f4a30356
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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