From fadc79e84c1af3f0fec33a7a4b146c02cf5e3a71 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Sun, 19 Feb 2017 06:18:25 +0100 Subject: [PATCH] Full path showed to the user fixes #1288 --- lgsm/functions/check_executable.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/check_executable.sh b/lgsm/functions/check_executable.sh index 14ccdb060..cc90b435d 100644 --- a/lgsm/functions/check_executable.sh +++ b/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