Переглянути джерело

Executable not found message

UltimateByte 9 роки тому
батько
коміт
858f1f24b8
1 змінених файлів з 6 додано та 0 видалено
  1. 6 0
      lgsm/functions/check_permissions.sh

+ 6 - 0
lgsm/functions/check_permissions.sh

@@ -123,6 +123,12 @@ fn_check_permissions(){
 				fi
 			fi
 		fi
+	else
+		fn_script_log_warn "Expected executable not found: ${executabledir}/${execname}"
+		fn_print_fail_nl "Executable ${execname} was not found."
+		echo " * Is the server properly installed?"
+		exitcode="1"
+		core_exit.sh
 	fi
 }