install: don't choke on dead links

This commit is contained in:
Lennart Poettering
2011-07-23 00:49:32 +02:00
parent 3d7d60c822
commit e6a6b40679
+1 -1
View File
@@ -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;