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:
parent
da532741c9
commit
182d1f60d2
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user