[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit c3892a582f983d2774e4024c74ff1c916467ef4f
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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();



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits