mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Merge pull request #50883 from terminalmage/bp-49622
Backport #49622 to 2018.3 branch
This commit is contained in:
commit
582d6b42d4
@ -922,7 +922,7 @@ def cmd_unzip(zip_file,
|
||||
if password:
|
||||
cmd.extend(['-P', password])
|
||||
if options:
|
||||
cmd.append('{0}'.format(options))
|
||||
cmd.extend(shlex.split(options))
|
||||
cmd.extend(['{0}'.format(zip_file), '-d', '{0}'.format(dest)])
|
||||
|
||||
if excludes is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user