Don't include errno in "unable to connect to log server" message.
There should be a more specific message, usually with an error string, displayed earlier.
This commit is contained in:
@@ -1980,7 +1980,7 @@ log_server_open(struct log_details *details, struct timespec *now,
|
||||
/* Connect to log first available log server. */
|
||||
if (!log_server_connect(closure)) {
|
||||
/* TODO: support offline logs if server unreachable */
|
||||
sudo_warn("%s", U_("unable to connect to log server"));
|
||||
sudo_warnx("%s", U_("unable to connect to log server"));
|
||||
goto bad;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user