From aa8aeac0504388a73e8c29a969d9665280f90d56 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 23 Sep 2015 01:11:08 +0200 Subject: core: exit early if we hit OOM --- src/core/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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) { -- cgit v1.2.3-54-g00ecf