diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-23 00:49:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-23 00:49:32 +0200 |
commit | e6a6b406791a76ca979ff5e615fd4d9a986a14b8 (patch) | |
tree | e88990e2742ffeedefea98ca0aca099f76bf49f9 | |
parent | 3d7d60c8225082a6ec036c794071cbfba52ee751 (diff) |
install: don't choke on dead links
-rw-r--r-- | src/install.c | 2 |
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; |