Commit ebb80e98 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Write error message to stderr so that web server can pick it up.

parent a328e0d5
......@@ -195,6 +195,12 @@ static void err_output(const char *fmt, va_list ap)
vfprintf(log, fmt, ap);
fflush(log);
/*
* Write to stderr so the web server can pick it up.
*/
vfprintf(stderr, fmt, ap);
fflush(stderr);
#endif /* LOG_EXEC */
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment