core: exit early if we hit OOM

This commit is contained in:
Lennart Poettering
2015-09-29 21:08:37 +02:00
parent d1cefe0ae2
commit aa8aeac050
+1 -1
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) {