From 2898a94fe0fbd163e1b1f985a63de44b627dcf2a Mon Sep 17 00:00:00 2001 From: gau1991 Date: Thu, 18 Sep 2014 19:16:00 +0530 Subject: [PATCH] Fixed varible not set --- src/modules/debug/ee_mod_debug_mysql.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/debug/ee_mod_debug_mysql.sh b/src/modules/debug/ee_mod_debug_mysql.sh index 5ced84b4..d08f84f3 100644 --- a/src/modules/debug/ee_mod_debug_mysql.sh +++ b/src/modules/debug/ee_mod_debug_mysql.sh @@ -20,7 +20,7 @@ function ee_mod_debug_mysql() || ee_lib_error "Unable to setup log_queries_not_using_indexes, exit status = " $? # Set a cron for slow query log - if [ -z $EE_DEBUG_IMPORT_SLOW_LOG ]; then + if [ ! -z $EE_DEBUG_IMPORT_SLOW_LOG ]; then ee_cron_time=${EE_DEBUG_IMPORT_SLOW_LOG##*=} if [ "$ee_cron_time" = "" ] || [ ! $ee_cron_time =~ "^[0-9]+$" ]; then ee_cron_time=5