From 970f24bd5a51570cdda6e5a6756c23951dafb004 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Tue, 14 Jan 2014 16:50:14 +0530 Subject: [PATCH] Fix if condition --- usr/local/sbin/easyengine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index aea87c88..ec57d77a 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -627,7 +627,7 @@ FIXMYSQLUSER16() # Fix MySQL USER ERROR 1470 (HY000) MYSQLUSER16=$(echo -n $WPDBUSER | wc -c) - if [[ $MYSQLUSER16 > 16 ]] + if [[ $MYSQLUSER16 -gt 16 ]] then echo MySQL Database Username $WPDBUSER = $MYSQLUSER16 &>> $INSTALLLOG REPLACEDOT16=$(echo $REPLACEDOT | cut -c1-16)