From 7ea7a6d94be3df682a41d5cad9453a4150644657 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Thu, 19 Jan 2017 23:16:14 +0100 Subject: [PATCH] I'm dumb --- lgsm/functions/check_executable.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/check_executable.sh b/lgsm/functions/check_executable.sh index a0a81aa4d..94337a26d 100644 --- a/lgsm/functions/check_executable.sh +++ b/lgsm/functions/check_executable.sh @@ -8,7 +8,7 @@ local commandname="CHECK" local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" # Check if executable exists -if [ -f "${executabledir}/${execname}" ]; then +if [ ! -f "${executabledir}/${execname}" ]; then fn_script_log_warn "Expected executable not found: ${executabledir}/${execname}" if [ -d "${scriptlogdir}" ]; then fn_print_fail_nl "Executable ${execname} was not found"