mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Always message when saving log file
This commit is contained in:
parent
a53a4f44de
commit
3b3fca2e8b
1 changed files with 1 additions and 1 deletions
|
|
@ -231,6 +231,7 @@ void log_close(void)
|
|||
if (fp != NULL)
|
||||
{
|
||||
fclose(fp);
|
||||
tio_printf("Saved log to file %s", log_filename);
|
||||
fp = NULL;
|
||||
log_filename = NULL;
|
||||
}
|
||||
|
|
@ -240,7 +241,6 @@ void log_exit(void)
|
|||
{
|
||||
if ((option.log) && (log_filename != NULL))
|
||||
{
|
||||
tio_printf("Saved log to file %s", log_filename);
|
||||
log_close();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue