1
0
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:
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, ","); l = strv_split(word, ",");
if (!l) if (!l)
log_oom(); return log_oom();
strv_uniq(l); strv_uniq(l);
if (strv_length(l) <= 1) { if (strv_length(l) <= 1) {