From ddec69214b1e0e29eebc2d668befd8ddf7465007 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 27 Feb 2022 10:14:01 +0100 Subject: [PATCH] check_webservice_load.sh: a minor change inside 'check_website'. --- check_webservice_load.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_webservice_load.sh b/check_webservice_load.sh index 8346b58..afdedce 100755 --- a/check_webservice_load.sh +++ b/check_webservice_load.sh @@ -2264,7 +2264,7 @@ if $check_website ; then # - Clean up cache/session files.. # - - if $include_cleanup_function ; then + if $include_cleanup_function && [[ -n "$(trim $cleanup_function)" ]] ; then info "Execute configured cleanup tasks.." echo -e "\n\t[ Info ]: Execute configured cleanup tasks .." >> $LOCK_DIR/extra_msg.txt