more error info

This commit is contained in:
Klas Lindfors
2014-02-04 14:26:40 +01:00
parent b62d60058b
commit bbe27a2a82
+2
View File
@@ -686,10 +686,12 @@ int main(int argc, char *argv[]) {
}
if(connect_reader(&card, &context, args_info.reader_arg, verbosity) == false) {
fprintf("Failed to connect to reader.\n");
return EXIT_FAILURE;
}
if(select_applet(&card, verbosity) == false) {
fprintf(stderr, "Failed to select applet.\n");
return EXIT_FAILURE;
}