From ce1383fe46d2b830a89acaa9fe00fb1239be4969 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 28 Jun 2017 19:36:49 +0200 Subject: [PATCH] blkdeactivate: drop unused var --- scripts/blkdeactivate.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in index a49741479..69f02b06e 100644 --- a/scripts/blkdeactivate.sh.in +++ b/scripts/blkdeactivate.sh.in @@ -221,7 +221,7 @@ deactivate_dm () { } deactivate_lvm () { - local DM_VG_NAME; local DM_LV_NAME; local DM_LV_LAYER + local DM_VG_NAME; local DM_LV_NAME eval "$(eval "$DMSETUP" splitname --nameprefixes --noheadings --rows "$name" LVM "$ERR")" test -b "$DEV_DIR/$DM_VG_NAME/$DM_LV_NAME" || return 0