← Commit list

fc466720b

Grant Erickson
Grant Erickson
2025-04-08
SUCCESS Duration: 158s

Subject

syslogd: Fix 'OPT_locallog' check regression in 'syslogd_main'

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

sysklogd/syslogd.c+1 -1
@@ -1045,7 +1045,7 @@ static int NOINLINE syslogd_init(char **argv)
#endif
/* If they have not specified remote logging, then log locally */
if (ENABLE_FEATURE_REMOTE_LOG && !(opts & OPT_remotelog)) // -R
- option_mask32 |= OPT_locallog;
+ option_mask32 = (opts |= OPT_locallog);
#if ENABLE_FEATURE_SYSLOGD_CFG
parse_syslogdcfg(opt_f);
#endif