summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/basic/path-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/path-util.c b/src/basic/path-util.c
index 0b8cac8f3e..e25e50e78a 100644
--- a/src/basic/path-util.c
+++ b/src/basic/path-util.c
@@ -95,7 +95,7 @@ int path_split_and_make_absolute(const char *p, char ***ret) {
l = strv_split(p, ":");
if (!l)
- return NULL;
+ return -ENOMEM;
r = path_strv_make_absolute_cwd(l);
if (r < 0) {