aboutsummaryrefslogtreecommitdiffstats
path: root/isocheck.pl
diff options
context:
space:
mode:
Diffstat (limited to 'isocheck.pl')
-rw-r--r--isocheck.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/isocheck.pl b/isocheck.pl
index 446b5ad..df94cb9 100644
--- a/isocheck.pl
+++ b/isocheck.pl
@@ -59,7 +59,7 @@ my $name = basename($image_path);
my %info = Isocheck::parse_image_file_name($name);
my @testfiles;
-if ($info{variant} =~ /^LiveCD/) {
+if (defined $info{variant} && $info{variant} =~ /^LiveCD/) {
@testfiles = glob('image_tests/live_iso/*.t');
} else {
@testfiles = glob('image_tests/install_iso/*.t');