From b6bff0dc295b2e15c084afac53c77d3a5870c9e4 Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Thu, 9 Oct 2014 15:52:14 +0530 Subject: [PATCH] minor update --- src/modules/site/ee_mod_site_backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/site/ee_mod_site_backup.sh b/src/modules/site/ee_mod_site_backup.sh index f74bc522..a7191315 100644 --- a/src/modules/site/ee_mod_site_backup.sh +++ b/src/modules/site/ee_mod_site_backup.sh @@ -27,7 +27,7 @@ function ee_mod_site_backup() mysqldump $ee_db_name > $ee_webroot/backup/db/${ee_db_name}-$EE_DATE.sql.bak &>> $EE_COMMAND_LOG # Move ee-config.php and copy wp-config.php to backup - if [ -f $ee_webroot/ee-config.php ] + if [ -f $ee_webroot/ee-config.php ]; then mv $ee_webroot/ee-config.php $ee_webroot/backup/htdocs/$EE_DATE/ || ee_lib_error "Unable to move $ee_webroot/ee-config.php to backup, exit status =" $? else cp $ee_webroot/wp-config.php $ee_webroot/backup/htdocs/$EE_DATE/ || ee_lib_error "Unable to move $ee_webroot/ee-config.php to backup, exit status =" $?