mirror of
https://github.com/systemd/systemd.git
synced 2024-11-08 11:27:32 +03:00
core: exit early if we hit OOM
This commit is contained in:
parent
d1cefe0ae2
commit
aa8aeac050
@ -513,7 +513,7 @@ static int config_parse_join_controllers(const char *unit,
|
||||
|
||||
l = strv_split(word, ",");
|
||||
if (!l)
|
||||
log_oom();
|
||||
return log_oom();
|
||||
strv_uniq(l);
|
||||
|
||||
if (strv_length(l) <= 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user