aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/export.c b/g10/export.c
index 5865ae23a..5d3ffffa4 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -2978,7 +2978,7 @@ export_secret_ssh_key (ctrl_t ctrl, const char *userid)
{
log_error (_("key \"%s\" not found: %s\n"), userid,
err? gpg_strerror (err) : "Not a Keygrip" );
- return err;
+ goto leave;
}
bin2hex (desc.u.grip, KEYGRIP_LEN, hexgrip);