summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-23 01:11:08 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-29 21:08:37 +0200
commitaa8aeac0504388a73e8c29a969d9665280f90d56 (patch)
treecf906b1936c5704fb9c503c580979cac55056f1d /src/core/main.c
parentd1cefe0ae29ce95b13157757913b494d89912b95 (diff)
core: exit early if we hit OOM
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 509b650395..97bad760c1 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -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) {