mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
Do not skip files starting with a dot in leases directory
'.' and '..' are skipped by virDirRead already.
This commit is contained in:
parent
5217fe3db4
commit
6d7ba87359
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user