diff options
Diffstat (limited to 'lib/OpenSLX/DistroUtils.pm')
-rw-r--r-- | lib/OpenSLX/DistroUtils.pm | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/OpenSLX/DistroUtils.pm b/lib/OpenSLX/DistroUtils.pm index 1bda311f..d7456d92 100644 --- a/lib/OpenSLX/DistroUtils.pm +++ b/lib/OpenSLX/DistroUtils.pm @@ -72,14 +72,11 @@ sub getInitFileForDistro { } sub getKernelVersionForDistro { - my $kernelPath = shift; + my $kernelPath = shift; my $distroName = shift; - - - print Dumper(@INC); + my $distro; my $engine = OpenSLX::DistroUtils::Engine->new(); - my $distro; if ($distroName) { $distro = $engine->loadDistro($distroName); @@ -88,9 +85,6 @@ sub getKernelVersionForDistro { } return $distro->getKernelVersion($kernelPath); - } - - -1; +1;
\ No newline at end of file |