mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Merge pull request #18345 from thatch45/tar_fix
Always extract when extracting
This commit is contained in:
commit
6a530e7b89
@ -188,7 +188,7 @@ def extracted(name,
|
||||
else:
|
||||
log.debug('Untar {0} in {1}'.format(filename, name))
|
||||
|
||||
results = __salt__['cmd.run_all']('tar {0} -f {1!r}'.format(
|
||||
results = __salt__['cmd.run_all']('tar x{0} -f {1!r}'.format(
|
||||
tar_options, filename), cwd=name)
|
||||
if results['retcode'] != 0:
|
||||
ret['result'] = False
|
||||
|
Loading…
Reference in New Issue
Block a user