diff options
Diffstat (limited to '')
-rw-r--r-- | agent/protect-tool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/protect-tool.c b/agent/protect-tool.c index be0bfd2e2..c5e43a38b 100644 --- a/agent/protect-tool.c +++ b/agent/protect-tool.c @@ -704,7 +704,8 @@ get_passphrase (int promptno) repeat, repeat, 1, &pw); if (err) { - if (gpg_err_code (err) == GPG_ERR_CANCELED) + if (gpg_err_code (err) == GPG_ERR_CANCELED + || gpg_err_code (err) == GPG_ERR_FULLY_CANCELED) log_info (_("cancelled\n")); else log_error (_("error while asking for the passphrase: %s\n"), |