[tor-commits] [tor/master] exit with nonzero status if certificate expiration dump fails

nickm at torproject.org nickm at torproject.org
Fri Sep 15 12:58:24 UTC 2017


commit c3892a582f983d2774e4024c74ff1c916467ef4f
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Sep 12 19:05:33 2017 -0400

    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 c987ddc61..117857e54 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();





More information about the tor-commits mailing list