|
@@ -8,7 +8,7 @@ local commandname="CHECK"
|
|
|
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
|
|
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
|
|
|
|
|
|
|
|
# Check if executable exists
|
|
# Check if executable exists
|
|
|
-if [ -f "${executabledir}/${execname}" ]; then
|
|
|
|
|
|
|
+if [ ! -f "${executabledir}/${execname}" ]; then
|
|
|
fn_script_log_warn "Expected executable not found: ${executabledir}/${execname}"
|
|
fn_script_log_warn "Expected executable not found: ${executabledir}/${execname}"
|
|
|
if [ -d "${scriptlogdir}" ]; then
|
|
if [ -d "${scriptlogdir}" ]; then
|
|
|
fn_print_fail_nl "Executable ${execname} was not found"
|
|
fn_print_fail_nl "Executable ${execname} was not found"
|