fix suppressing stderr redirection in tests, with the -n option

This commit is contained in:
arvidn 2017-12-28 15:32:16 +01:00 committed by Arvid Norberg
parent 8b3624b25b
commit 0eec9194db
1 changed files with 1 additions and 0 deletions

View File

@ -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)