mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Make config check a little more tolerant of library names.
This commit is contained in:
parent
50e3a3f334
commit
a3dfa1c7d5
@ -1,5 +1,6 @@
|
||||
Version 2.01.05 -
|
||||
===================================
|
||||
Make clvmd config check a little more tolerant.
|
||||
|
||||
Version 2.01.04 - 9th February 2005
|
||||
===================================
|
||||
|
@ -449,11 +449,11 @@ static void check_config()
|
||||
return;
|
||||
|
||||
if (locking_type == 2) { /* External library, check name */
|
||||
char *libname;
|
||||
const char *libname;
|
||||
|
||||
libname = find_config_str(cmd->cft->root, "global/locking_library",
|
||||
"");
|
||||
if (!strcmp(libname, "liblvm2clusterlock.so"))
|
||||
if (strstr(libname, "liblvm2clusterlock.so"))
|
||||
return;
|
||||
|
||||
log_error("Incorrect LVM locking library specified in lvm.conf, cluster operations may not work.");
|
||||
|
Loading…
Reference in New Issue
Block a user