summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.c b/src/install.c
index 9f415edc2e..e6bd5782e1 100644
--- a/src/install.c
+++ b/src/install.c
@@ -1874,7 +1874,7 @@ int unit_file_get_list(
}
r = null_or_empty_path(f->path);
- if (r < 0) {
+ if (r < 0 && r != -ENOENT) {
free(f->path);
free(f);
goto finish;