lvm thin: add missing newline to error message
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
904f06a82e
commit
b4616e5c4a
@ -216,7 +216,7 @@ my $activate_lv = sub {
|
|||||||
|
|
||||||
my $lvs = $cache->{lvs} ||= PVE::Storage::LVMPlugin::lvm_list_volumes();
|
my $lvs = $cache->{lvs} ||= PVE::Storage::LVMPlugin::lvm_list_volumes();
|
||||||
|
|
||||||
die "no such logical volume $vg/$lv" if !$lvs->{$vg} || !$lvs->{$vg}->{$lv};
|
die "no such logical volume $vg/$lv\n" if !$lvs->{$vg} || !$lvs->{$vg}->{$lv};
|
||||||
|
|
||||||
return if $lvs->{$vg}->{$lv}->{lv_state} eq 'a';
|
return if $lvs->{$vg}->{$lv}->{lv_state} eq 'a';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user