[lvm-devel] master - scripts: blkdeactivate: fix typo for DEV_DIR when executing blkdeactivate -m disablequeueing

Peter Rajnoha prajnoha at fedoraproject.org
Wed Jul 20 11:49:10 UTC 2016


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=19e652b182099ca06c678394eccd1988967dacf9
Commit:        19e652b182099ca06c678394eccd1988967dacf9
Parent:        9d19c1075f0265aed7a1d1dab216e65cae6d460a
Author:        Peter Rajnoha <prajnoha at redhat.com>
AuthorDate:    Wed Jul 20 13:48:59 2016 +0200
Committer:     Peter Rajnoha <prajnoha at redhat.com>
CommitterDate: Wed Jul 20 13:48:59 2016 +0200

scripts: blkdeactivate: fix typo for DEV_DIR when executing blkdeactivate -m disablequeueing

---
 scripts/blkdeactivate.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in
index de74756..50ea2d1 100644
--- a/scripts/blkdeactivate.sh.in
+++ b/scripts/blkdeactivate.sh.in
@@ -466,7 +466,7 @@ set_env() {
 	MPATHD_RUNNING=0
 	test $MPATHD_DO_DISABLEQUEUEING -eq 1 && {
 		if test -f $MPATHD; then
-			if eval $MPATHD show daemon $ERR | grep "running" >$DEVDIR/null; then
+			if eval $MPATHD show daemon $ERR | grep "running" >$DEV_DIR/null; then
 				MPATHD_RUNNING=1
 			fi
 		fi




More information about the lvm-devel mailing list