1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-04 21:47:31 +03:00

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

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;