summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index c6d283896d..833fd74d87 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -561,6 +561,8 @@ static int config_parse_join_controllers(const char *unit,
break;
l = strv_split(word, ",");
+ if (!l)
+ log_oom();
strv_uniq(l);
if (strv_length(l) <= 1) {