From aa8aeac0504388a73e8c29a969d9665280f90d56 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 23 Sep 2015 01:11:08 +0200 Subject: [PATCH] core: exit early if we hit OOM --- src/core/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/main.c b/src/core/main.c index 509b650395b..97bad760c1e 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) {