openpgp-tool: Return EXIT_SUCCESS if no error occurs
exit_status is either set directly or a function return is ORed with it, in which case EXIT_SUCCESS can never be returned if the initial value is != 0;
This commit is contained in:
parent
5279bfa2d1
commit
d13549600d
|
@ -410,7 +410,7 @@ int main(int argc, char **argv)
|
||||||
sc_card_t *card = NULL;
|
sc_card_t *card = NULL;
|
||||||
int r;
|
int r;
|
||||||
int argind = 0;
|
int argind = 0;
|
||||||
int exit_status = EXIT_FAILURE;
|
int exit_status = EXIT_SUCCESS;
|
||||||
|
|
||||||
/* decode options */
|
/* decode options */
|
||||||
argind = decode_options(argc, argv);
|
argind = decode_options(argc, argv);
|
||||||
|
|
Loading…
Reference in New Issue