mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 19:21:53 +03:00
log: explicitly ignore return value of parse_proc_cmdline()
CID# 1251162
This commit is contained in:
parent
f0e62e8997
commit
f9aa541380
@ -910,7 +910,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value) {
|
|||||||
void log_parse_environment(void) {
|
void log_parse_environment(void) {
|
||||||
const char *e;
|
const char *e;
|
||||||
|
|
||||||
parse_proc_cmdline(parse_proc_cmdline_item);
|
(void) parse_proc_cmdline(parse_proc_cmdline_item);
|
||||||
|
|
||||||
e = secure_getenv("SYSTEMD_LOG_TARGET");
|
e = secure_getenv("SYSTEMD_LOG_TARGET");
|
||||||
if (e && log_set_target_from_string(e) < 0)
|
if (e && log_set_target_from_string(e) < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user