install: don't choke on dead links
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user