mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +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;
|
||||
|
||||
if ((r = access(socket, F_OK)) && errno != ENOENT)
|
||||
log_sys_error("lvmetad_socket_present", "");
|
||||
log_sys_error("access", socket);
|
||||
|
||||
return !r;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user