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:
parent
d25a876498
commit
c382bd2071
1 changed files with 4 additions and 1 deletions
|
@ -1514,7 +1514,10 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
||||||
log_dolog=parm1;
|
log_dolog=parm1;
|
||||||
log_printf2("logging set to %d",parm1);
|
log_printf2("logging set to %d",parm1);
|
||||||
#if !defined(NSIS_CONFIG_LOG_ODS) && !defined(NSIS_CONFIG_LOG_STDOUT)
|
#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
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue