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