From 6d7ba87359a3a4bc9b18a1083e40e72668691354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Tue, 21 Jun 2016 17:43:11 +0200 Subject: [PATCH] Do not skip files starting with a dot in leases directory '.' and '..' are skipped by virDirRead already. --- tools/nss/libvirt_nss.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/nss/libvirt_nss.c b/tools/nss/libvirt_nss.c index d179514945..d0b7217e97 100644 --- a/tools/nss/libvirt_nss.c +++ b/tools/nss/libvirt_nss.c @@ -139,9 +139,6 @@ findLease(const char *name, while ((ret = virDirRead(dir, &entry, leaseDir)) > 0) { char *path; - if (entry->d_name[0] == '.') - continue; - if (!virFileHasSuffix(entry->d_name, ".status")) continue;