mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
exit with nonzero status if certificate expiration dump fails
Fixes bug 23488. Bugfix on b2a7e8df900eabe41d6e866f; bug not in any released Tor.
This commit is contained in:
parent
3092c8bb3e
commit
c3892a582f
@ -3785,7 +3785,6 @@ tor_main(int argc, char *argv[])
|
|||||||
case CMD_KEY_EXPIRATION:
|
case CMD_KEY_EXPIRATION:
|
||||||
init_keys();
|
init_keys();
|
||||||
result = log_cert_expiration();
|
result = log_cert_expiration();
|
||||||
result = 0;
|
|
||||||
break;
|
break;
|
||||||
case CMD_LIST_FINGERPRINT:
|
case CMD_LIST_FINGERPRINT:
|
||||||
result = do_list_fingerprint();
|
result = do_list_fingerprint();
|
||||||
|
Loading…
Reference in New Issue
Block a user