mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cov: check for syscall resuls
This commit is contained in:
parent
b84702349f
commit
ae7b59f509
@ -88,7 +88,9 @@ static int _get_crypt_path(dev_t lv_devt, char *lv_path, char *crypt_path)
|
||||
ret = 1;
|
||||
break;
|
||||
}
|
||||
closedir(dr);
|
||||
if (closedir(dr))
|
||||
log_sys_debug("closedir", holders_path);
|
||||
|
||||
if (ret)
|
||||
log_debug("Found holder %s of %s.", crypt_path, lv_path);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user