Not every buildstep has a defined drvpath
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
04e6eda4c7
commit
788c2bebaa
|
@ -284,6 +284,7 @@ sub findLog {
|
|||
});
|
||||
|
||||
foreach my $step (@steps) {
|
||||
next unless defined $step->drvpath;
|
||||
my $logPath = getDrvLogPath($step->drvpath);
|
||||
return $logPath if defined $logPath;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue