Add NO_STDERR flag.
This commit is contained in:
@@ -395,10 +395,12 @@ log_error(va_alist)
|
||||
/*
|
||||
* Tell the user.
|
||||
*/
|
||||
if (!ISSET(flags, NO_STDERR)) {
|
||||
if (flags & USE_ERRNO)
|
||||
warn("%s", message);
|
||||
else
|
||||
warnx("%s", message);
|
||||
}
|
||||
|
||||
/*
|
||||
* Send a copy of the error via mail.
|
||||
|
Reference in New Issue
Block a user