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:
parent
88aa285a79
commit
df9e5f39a7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user