Fix regression in postgres module.

Closes #9372
This commit is contained in:
Mike Place 2013-12-20 14:52:14 -07:00
parent 8034d126e2
commit a391a7155c

View File

@ -544,8 +544,7 @@ def _role_create(name,
cmd = _psql_cmd('-c', sub_cmd, host=host, user=user, port=port,
maintenance_db=maintenance_db, password=password)
ret = _run_psql(cmd, runas=runas, password=password, host=host,
run_cmd='cmd.run')
ret = _run_psql(cmd, runas=runas, password=password, host=host)
return ret['retcode'] == 0