From 04f3762fb823f6a067c17412a6d66ea17a9a160f Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Thu, 12 Apr 2012 15:34:58 +0200 Subject: fix demuxer warnings --- src/installer/OpenSLX/OSExport/Engine.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/installer') diff --git a/src/installer/OpenSLX/OSExport/Engine.pm b/src/installer/OpenSLX/OSExport/Engine.pm index 251869e0..5034baa3 100644 --- a/src/installer/OpenSLX/OSExport/Engine.pm +++ b/src/installer/OpenSLX/OSExport/Engine.pm @@ -203,8 +203,11 @@ sub _initialize exit 1; } $exportType =~ m[^(\w+)(?:-(\w+))?$]; - my $exportFS = lc($1); - my $exportBD = lc($2); + my $exportFS = ""; + my $exportBD = ""; + $exportFS = lc($1) if defined $1; + $exportBD = lc($2) if defined $2; + vlog(2, "export-filesys='$exportFS' export-blockdev='$exportBD'"); $self->{'vendor-os-name'} = $vendorOSName; -- cgit v1.2.3-55-g7522