mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update archive.py
This commit is contained in:
parent
ed2bed3e86
commit
925a9c905c
1 changed files with 1 additions and 1 deletions
|
@ -922,7 +922,7 @@ def cmd_unzip(zip_file,
|
|||
if password:
|
||||
cmd.extend(['-P', password])
|
||||
if options:
|
||||
cmd = cmd + options.split()
|
||||
cmd = cmd.extend(shlex.split(options))
|
||||
cmd.extend(['{0}'.format(zip_file), '-d', '{0}'.format(dest)])
|
||||
|
||||
if excludes is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue