From c3892a582f983d2774e4024c74ff1c916467ef4f Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 12 Sep 2017 19:05:33 -0400 Subject: [PATCH] exit with nonzero status if certificate expiration dump fails Fixes bug 23488. Bugfix on b2a7e8df900eabe41d6e866f; bug not in any released Tor. --- src/or/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/or/main.c b/src/or/main.c index c987ddc61b..117857e543 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -3785,7 +3785,6 @@ tor_main(int argc, char *argv[]) case CMD_KEY_EXPIRATION: init_keys(); result = log_cert_expiration(); - result = 0; break; case CMD_LIST_FINGERPRINT: result = do_list_fingerprint();