1
0
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:
Alasdair G Kergon 2016-05-12 01:54:09 +01:00
parent e6cafdad36
commit a6203657a0

2
lib/cache/lvmetad.c vendored
View File

@ -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;
} }