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:
parent
061d9df739
commit
0c3ccb2c99
1 changed files with 0 additions and 2 deletions
|
@ -148,8 +148,6 @@ finish:
|
|||
HashMapFree(args.env);
|
||||
}
|
||||
|
||||
Log(LOG_DEBUG, "Exitting with code: %d", ret);
|
||||
|
||||
LogConfigFree(LogConfigGlobal());
|
||||
|
||||
StreamClose(StreamStdout());
|
||||
|
|
Loading…
Reference in a new issue