summaryrefslogtreecommitdiffstats
path: root/src/installer
diff options
context:
space:
mode:
Diffstat (limited to 'src/installer')
-rw-r--r--src/installer/OpenSLX/OSExport/Engine.pm7
1 files changed, 5 insertions, 2 deletions
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;