1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

Also use DEFAULT_RUN_DIR for the lvmetad socket on the client side.

This commit is contained in:
Petr Rockai 2012-02-23 11:40:24 +00:00
parent da532741c9
commit 182d1f60d2

View File

@ -67,7 +67,7 @@ static inline daemon_handle lvmetad_open(const char *socket)
/* TODO configurable */
daemon_info lvmetad_info = {
.path = "lvmetad",
.socket = socket ?: "/var/run/lvm/lvmetad.socket",
.socket = socket ?: DEFAULT_RUN_DIR "/lvmetad.socket",
.autostart = 1
};