1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix bug causing mysqldump to fail

This commit is contained in:
Dirk Uys 2013-04-26 17:07:29 +03:00
parent c9277ef4c5
commit 122122234d

View file

@ -109,7 +109,7 @@ def db_delete(cursor, db):
return True
def db_dump(host, user, password, db_name, target):
res = os.system("/usr/bin/mysqldump -q -h "+host+"-u "+user+ " --password="+password+" "
res = os.system("/usr/bin/mysqldump -q -h "+host+" -u "+user+ " --password="+password+" "
+db_name+" > "
+target)
return (res == 0)