diff options
Diffstat (limited to 'src/install.c')
-rw-r--r-- | src/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.c b/src/install.c index 174d79bab6..9256116805 100644 --- a/src/install.c +++ b/src/install.c @@ -1853,7 +1853,7 @@ int unit_file_get_list( r = dirent_ensure_type(d, de); if (r < 0) { - if (errno == ENOENT) + if (r == -ENOENT) continue; goto finish; |