Why does nginx -V output to stderr?

Maxim Dounin mdounin at mdounin.ru
Sat Jul 24 01:50:04 UTC 2021


Hello!

On Fri, Jul 23, 2021 at 03:54:10AM +0000, ADD SP wrote:

> I found that the command `nginx -V` is output to `stderr` 
> instead of `stdout`, what is the reason for doing this?
> 
> I'm just asking this question out of curiosity.

https://trac.nginx.org/nginx/ticket/592#comment:2

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list