mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Improve error msg on failed getinfo fingerprint
This commit is contained in:
+1
-1
@@ -1396,7 +1396,7 @@ getinfo_helper_misc(control_connection_t *conn, const char *question,
|
||||
} else if (!strcmp(question, "fingerprint")) {
|
||||
crypto_pk_env_t *server_key;
|
||||
if (!server_mode(get_options())) {
|
||||
*errmsg = "No routerdesc known; am I really a server?";
|
||||
*errmsg = "Not running in server mode";
|
||||
return -1;
|
||||
}
|
||||
server_key = get_server_identity_key();
|
||||
|
||||
Reference in New Issue
Block a user