1
0
Fork 0
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:
Mitch Livingston 2019-04-27 21:43:10 -04:00 committed by GitHub
commit cff5a68814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}