From 855fabdafbf28ebfebf64215b6a027a3e7a276b3 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Thu, 18 Sep 2014 19:09:03 +0530 Subject: [PATCH] Fixed typo --- 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 aa937432..5ced84b4 100644 --- a/src/modules/debug/ee_mod_debug_mysql.sh +++ b/src/modules/debug/ee_mod_debug_mysql.sh @@ -22,7 +22,7 @@ function ee_mod_debug_mysql() # Set a cron for slow query log 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]+$" ] + if [ "$ee_cron_time" = "" ] || [ ! $ee_cron_time =~ "^[0-9]+$" ]; then ee_cron_time=5 fi crontab -l | sed '*/$ee_cron_time * * * * /usr/local/sbin/ee import-slow-log' | crontab -