master - lvmconf: fix test for setting external locking type
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=de04e36fda20dbf1bcfb155e6b2faf584cde791d Commit: de04e36fda20dbf1bcfb155e6b2faf584cde791d Parent: daa372f78d316ded212ffd703a9740ff80632d38 Author: Zdenek Kabelac <[email protected]> AuthorDate: Wed Jun 28 17:22:22 2017 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Thu Jun 29 22:23:16 2017 +0200
lvmconf: fix test for setting external locking type
Fix test for check of set locking lib dir.
--- scripts/lvmconf.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/lvmconf.sh +1 -1
@@ -134,7 +134,7 @@ function parse_args esac done - if [ "$LOCKINGLIBDIR" -o "$LOCKINGLIB" ]; then + if [ -n "$LOCKINGLIBDIR" ] || [ -n "$LOCKINGLIB" ]; then LOCKING_TYPE=2 USE_LVMETAD=0 fi