diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-04-29 10:40:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-29 10:40:15 +0200 |
commit | e0a24179c0cd874aa901ff618c64041f851537ef (patch) | |
tree | 9e9288ef13c7c63c0e59a551a47a214ade4b739a /src/basic/fd-util.c | |
parent | e192a2815ef92ba8b2d6855be6cef0cbf3712272 (diff) | |
parent | 1f7be300e9c98a5f3b473d203dadcd9abef69baa (diff) |
Merge pull request #3137 from keszybz/dirent-simplification
Various small cleanups in shared code
Diffstat (limited to 'src/basic/fd-util.c')
-rw-r--r-- | src/basic/fd-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fd-util.c b/src/basic/fd-util.c index 3d46d708c7..9130d023d7 100644 --- a/src/basic/fd-util.c +++ b/src/basic/fd-util.c @@ -231,7 +231,7 @@ int close_all_fds(const int except[], unsigned n_except) { while ((de = readdir(d))) { int fd = -1; - if (hidden_file(de->d_name)) + if (hidden_or_backup_file(de->d_name)) continue; if (safe_atoi(de->d_name, &fd) < 0) |