Commit 0bf930c7 authored by David Johnson's avatar David Johnson
Browse files

BUG FIX: only print debug info if debug is set!

parent b7c36a1f
......@@ -836,7 +836,8 @@ sub NewType($$)
eval "require libossetup_$type";
$newtype = eval { $packname->New($self); };
if ($@) {
print STDERR "$self NewType($type): module load failed: " . $@ . "\n";
print STDERR "$self NewType($type): module load failed: " . $@ . "\n"
if ($self->debug());
return undef;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment