Fixed typo in chown username (ending dot) that fails the command.

This commit is contained in:
Audrius Sadauskas 2015-05-25 17:35:52 +01:00 committed by rallytime
parent 5488c4aaa2
commit 7f08641800

View file

@ -1052,7 +1052,7 @@ def deploy_script(host,
if len(comps) > 0:
if len(comps) > 1 or comps[0] != 'tmp':
ret = root_cmd(
'chown {0}. \'{1}\''.format(username, tmp_dir),
'chown {0} \'{1}\''.format(username, tmp_dir),
tty, sudo, **ssh_kwargs
)
if ret: