summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rw-r--r--installer/OpenSLX/OSSetup/Engine.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm
index 233ba33c..e5b76f3d 100644
--- a/installer/OpenSLX/OSSetup/Engine.pm
+++ b/installer/OpenSLX/OSSetup/Engine.pm
@@ -506,7 +506,8 @@ sub addInstalledVendorOSToConfigDB
my $vendorOSName = $self->{'vendor-os-name'};
my $vendorOS = $openslxDB->fetchVendorOSByFilter({'name' => $vendorOSName});
if (defined $vendorOS) {
- if ($self->{'clone-source'} ne $vendorOS->{'clone_source'}) {
+ if ($vendorOS->{'clone_source'}
+ && $self->{'clone-source'} ne $vendorOS->{'clone_source'}) {
$openslxDB->changeVendorOS(
$vendorOS->{id},
{ 'clone_source' => $self->{'clone-source'} }