From: Lennart Poettering Date: Fri, 22 Jul 2011 22:49:32 +0000 (+0200) Subject: install: don't choke on dead links X-Git-Tag: v31~24 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6a6b406791a76ca979ff5e615fd4d9a986a14b8;p=systemd install: don't choke on dead links --- 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;