fix suppressing stderr redirection in tests, with the -n option
This commit is contained in:
parent
8b3624b25b
commit
0eec9194db
|
@ -320,6 +320,7 @@ int EXPORT main(int argc, char const* argv[])
|
||||||
if (argv[0] == "-n"_sv || argv[0] == "--no-redirect"_sv)
|
if (argv[0] == "-n"_sv || argv[0] == "--no-redirect"_sv)
|
||||||
{
|
{
|
||||||
redirect_stdout = false;
|
redirect_stdout = false;
|
||||||
|
redirect_stderr = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argv[0] == "--stderr-redirect"_sv)
|
if (argv[0] == "--stderr-redirect"_sv)
|
||||||
|
|
Loading…
Reference in New Issue