From e6a6b406791a76ca979ff5e615fd4d9a986a14b8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 23 Jul 2011 00:49:32 +0200 Subject: [PATCH] install: don't choke on dead links --- src/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.c b/src/install.c index 9f415edc..e6bd5782 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; -- 2.39.5