mirror of
https://github.com/transmission/transmission
synced 2025-01-03 21:45:49 +00:00
Merge branch 'master' into dock_string_crash_fix
This commit is contained in:
commit
cff5a68814
1 changed files with 1 additions and 1 deletions
|
@ -815,7 +815,7 @@ static bool init_daemon_data(int argc, char* argv[], struct daemon_data* data, b
|
|||
goto exit_early;
|
||||
}
|
||||
|
||||
if (foreground && logfile == TR_BAD_SYS_FILE)
|
||||
if (*foreground && logfile == TR_BAD_SYS_FILE)
|
||||
{
|
||||
logfile = tr_sys_file_get_std(TR_STD_SYS_FILE_ERR, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue