Skip to content

Commit e66a4ea

Browse files
committed
Fix: ospd-feed-preparer to copy recursively for script-dependencies
With this patch the feed-preparer does copy dependencies of a script-dependency instead of just copying the first dependency.
1 parent 97fe15b commit e66a4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smoketest/feed/preparer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func (p *preparer) copyPlugin(n *nasl.Plugin) error {
151151
}
152152
for _, sdp := range n.ScriptDependencies {
153153
if sd := p.naslCache.ByPath(sdp); sd != nil {
154-
if err := cp(sd); err != nil {
154+
if err := p.copyPlugin(sd); err != nil {
155155
return err
156156
}
157157
} else {

0 commit comments

Comments
 (0)