Fixed directory create exec

fixes bug#1224536

Change-Id: I1071c4d3e203ae7fcfa3c1edceca3cbc4cfad059
(cherry picked from commit b4f38271a3)
This commit is contained in:
Andrey Shestakov 2013-09-12 18:30:48 +03:00 committed by Michael Basnight
parent 2485028c26
commit 0ae19f4478
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ class MySqlApp(object):
conf_dir = "/etc/mysql/conf.d"
LOG.debug("Creating %s" % conf_dir)
command = "sudo mkdir -p %s" % conf_dir
utils.execute_with_timeout(command)
utils.execute_with_timeout(command, shell=True)
def _enable_mysql_on_boot(self):
"""