1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

debug: correct check for failing close

This commit is contained in:
Zdenek Kabelac 2023-09-26 17:50:33 +02:00
parent 88aa285a79
commit df9e5f39a7

View File

@ -6007,7 +6007,7 @@ static void process_listener(int poll_fd)
return;
if (!(cl = alloc_client())) {
if (!close(fd))
if (close(fd))
log_error("failed to close lockd poll fd");
return;
}