1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

core: exit early if we hit OOM

This commit is contained in:
Lennart Poettering 2015-09-23 01:11:08 +02:00
parent d1cefe0ae2
commit aa8aeac050

View File

@ -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) {