summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-23 00:49:32 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-23 00:49:32 +0200
commite6a6b406791a76ca979ff5e615fd4d9a986a14b8 (patch)
treee88990e2742ffeedefea98ca0aca099f76bf49f9 /src
parent3d7d60c8225082a6ec036c794071cbfba52ee751 (diff)
install: don't choke on dead links
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;