summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYannick Brosseau2010-11-10 22:41:42 (GMT)
committeranarcat2010-11-19 23:02:16 (GMT)
commit7eb7e28bd1dfe3eb3eeec91bf3962fb3d3b76263 (patch)
tree6b8c4da3d0346afe1ed24396136afa7ae3351c90
parenteb002746c86abc815ef223c2a3a2c1ba7714116a (diff)
Add an empty exec option to the mysql command so than the shell can exit
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
-rw-r--r--db/mysql/mysql_service.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/mysql/mysql_service.inc b/db/mysql/mysql_service.inc
index 10dccaa..20ff663 100644
--- a/db/mysql/mysql_service.inc
+++ b/db/mysql/mysql_service.inc
@@ -88,7 +88,7 @@ class provisionService_db_mysql extends provisionService_db_pdo {
}
function grant_host(provisionContext_server $server) {
- $command = sprintf('mysql -u intntnllyInvalid -h %s -P %s',
+ $command = sprintf('mysql -u intntnllyInvalid -h %s -P %s -e ""',
escapeshellarg($this->server->remote_host),
escapeshellarg($this->server->db_port));