mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
fsadm: avoid access to unbound variable
This commit is contained in:
parent
9e836c77a0
commit
646e3280dd
@ -163,7 +163,7 @@ cleanup() {
|
||||
_FSADM_EXTOFF=$EXTOFF
|
||||
export _FSADM_YES _FSADM_EXTOFF
|
||||
unset FSADM_RUNNING
|
||||
test -n "$LVM_BINARY" && PATH=$_SAVEPATH
|
||||
test -n "${LVM_BINARY-}" && PATH=$_SAVEPATH
|
||||
dry exec "$LVM" lvresize $VERB $FORCE -r -L"${NEWSIZE_ORIG}b" "$VOLUME_ORIG"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user