Don't log anything at the end of main; user may have redirected and closeed stream.

This would cause a segfault.
This commit is contained in:
Jordan Bancino 2023-05-24 23:32:53 +00:00
parent 2693b89598
commit 836229fd1a

View file

@ -148,8 +148,6 @@ finish:
HashMapFree(args.env);
}
Log(LOG_DEBUG, "Exitting with code: %d", ret);
LogConfigFree(LogConfigGlobal());
StreamClose(StreamStdout());