Răsfoiți Sursa

Executable not found message

UltimateByte 9 ani în urmă
părinte
comite
858f1f24b8
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  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
 }