From: Klas Lindfors Date: Tue, 18 Sep 2012 11:54:33 +0000 (+0200) Subject: don't go into error-reporting mode before we can have errors X-Git-Tag: v1.8.0~39 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b0e2393619a326ec10fee40301aedc1ff794ca3;p=yubikey-personalization don't go into error-reporting mode before we can have errors --- diff --git a/ykchalresp.c b/ykchalresp.c index b9a165c..c307048 100644 --- a/ykchalresp.c +++ b/ykchalresp.c @@ -249,7 +249,7 @@ int main(int argc, char **argv) &challenge, &challenge_len, &hmac, &may_block, &exit_code)) - goto err; + exit(exit_code); if (!yk_init()) { exit_code = 1;