applied patch #1986692 - Close LOG file when LogSet is set to Off.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5647 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2008-06-13 16:31:14 +00:00
parent d25a876498
commit c382bd2071

View file

@ -1514,7 +1514,10 @@ static int NSISCALL ExecuteEntry(entry *entry_)
log_dolog=parm1;
log_printf2("logging set to %d",parm1);
#if !defined(NSIS_CONFIG_LOG_ODS) && !defined(NSIS_CONFIG_LOG_STDOUT)
if (parm1) build_g_logfile();
if (parm1)
build_g_logfile();
else
log_write(1);
#endif
}
else