Răsfoiți Sursa

Full path showed to the user

fixes #1288
UltimateByte 9 ani în urmă
părinte
comite
fadc79e84c
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 3 2
      lgsm/functions/check_executable.sh

+ 3 - 2
lgsm/functions/check_executable.sh

@@ -9,9 +9,10 @@ local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
 # Check if executable exists
 if [ ! -f "${executabledir}/${execname}" ]; then
-	fn_script_log_warn "Expected executable not found: ${executabledir}/${execname}"
+	fn_script_log_warn "Executable was not found: ${executabledir}/${execname}"
 	if [ -d "${scriptlogdir}" ]; then
-		fn_print_fail_nl "Executable ${execname} was not found"
+		fn_print_fail_nl "Executable was not found:"
+		echo " * ${executabledir}/${execname}"
 	fi
 	exitcode="1"
 	core_exit.sh