backups: fix passing -z option to openssl
Note that this is not fix #775 in any way.
This commit is contained in:
parent
01312a17d6
commit
d86865d299
@ -760,8 +760,8 @@ class Extract_Worker(Process):
|
||||
# Start decrypt
|
||||
self.decryptor_process = subprocess.Popen (["openssl", "enc",
|
||||
"-d", "-aes-256-cbc",
|
||||
"-pass", "pass:"+self.passphrase],
|
||||
(["-z"] if compressed else []),
|
||||
"-pass", "pass:"+self.passphrase] +
|
||||
(["-z"] if self.compressed else []),
|
||||
stdin=open(filename,'rb'),
|
||||
stdout=subprocess.PIPE)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user