don't blow up on shutdown in -nc mode.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6560 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-12-07 02:04:23 +00:00
parent 6bad7635dd
commit 46f2418092
1 changed files with 1 additions and 1 deletions

View File

@ -999,7 +999,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
if (runtime.console != stdout && runtime.console != stderr) {
if (runtime.console && runtime.console != stdout && runtime.console != stderr) {
fclose(runtime.console);
runtime.console = NULL;
}