]> err.no Git - yubikey-personalization/commitdiff
return 1 on success
authorKlas Lindfors <klas@yubico.com>
Tue, 18 Sep 2012 07:38:42 +0000 (09:38 +0200)
committerKlas Lindfors <klas@yubico.com>
Tue, 18 Sep 2012 07:38:42 +0000 (09:38 +0200)
ykcore/ykcore.c

index b4ba19f366b9aa9630d236a2b5c8af58ef3c1a7f..3036c265b1739dc61f2829abeb37cb0813c10eee 100644 (file)
@@ -246,6 +246,7 @@ int yk_write_config(YK_KEY *yk, YK_CONFIG *cfg, int confnum,
        if(!yk_write_command(yk, cfg, command, acc_code)) {
                return 0;
        }
+       return 1;
 }
 
 int yk_write_ndef(YK_KEY *yk, YKNDEF *ndef)