Bugfix: Missed return code for failed PGP encryption in log message

This commit is contained in:
fkrone 2015-03-16 14:58:01 +01:00
parent 49e0068f04
commit dbb65bbf7f
1 changed files with 1 additions and 1 deletions

View File

@ -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 )