mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
lvmetad: Fix client error when socket access fails.
This commit is contained in:
parent
e6cafdad36
commit
a6203657a0
2
lib/cache/lvmetad.c
vendored
2
lib/cache/lvmetad.c
vendored
@ -178,7 +178,7 @@ int lvmetad_socket_present(void)
|
|||||||
int r;
|
int r;
|
||||||
|
|
||||||
if ((r = access(socket, F_OK)) && errno != ENOENT)
|
if ((r = access(socket, F_OK)) && errno != ENOENT)
|
||||||
log_sys_error("lvmetad_socket_present", "");
|
log_sys_error("access", socket);
|
||||||
|
|
||||||
return !r;
|
return !r;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user