forked from Disroot/gpg-lacre
Bugfix: Missed return code for failed PGP encryption in log message
This commit is contained in:
parent
49e0068f04
commit
dbb65bbf7f
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ def encrypt_payload( payload, gpg_to_cmdline ):
|
|||
if verbose:
|
||||
log("Return code from encryption=%d (0 indicates success)." % returncode)
|
||||
if returncode != 0:
|
||||
log("Encrytion failed with return code %d. Encryption aborted.")
|
||||
log("Encrytion failed with return code %d. Encryption aborted." % returncode)
|
||||
return payload
|
||||
|
||||
payload.set_payload( encrypted_data )
|
||||
|
|
Loading…
Reference in a new issue