aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-12 19:05:33 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-12 19:05:33 -0400
commitc3892a582f983d2774e4024c74ff1c916467ef4f (patch)
tree224ffa514ed21e8130c9feaf960e85cf1e8f3727
parent3092c8bb3e5eef94016327a83b07bab1c4ab3694 (diff)
downloadtor-c3892a582f983d2774e4024c74ff1c916467ef4f.tar.gz
tor-c3892a582f983d2774e4024c74ff1c916467ef4f.zip
exit with nonzero status if certificate expiration dump fails
Fixes bug 23488. Bugfix on b2a7e8df900eabe41d6e866f; bug not in any released Tor.
-rw-r--r--src/or/main.c1
1 files changed, 0 insertions, 1 deletions
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();