Commit 11fccaf5 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Do not spit these errors to the web browser; just to the log file. Not

good to leak to the user, and it also messes up fpassthru in php.
parent 6e666122
......@@ -193,14 +193,7 @@ static void err_output(const char *fmt, va_list ap)
lt->tm_hour, lt->tm_min, lt->tm_sec);
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