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:
parent
3d7d60c822
commit
e6a6b40679
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user