mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed typo in chown username (ending dot) that fails the command.
This commit is contained in:
parent
5488c4aaa2
commit
7f08641800
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue