Skip to content

Commit

Permalink
Merge pull request containers#5694 from dfr/freebsd-network-host
Browse files Browse the repository at this point in the history
run: fix a nil pointer dereference on FreeBSD
  • Loading branch information
openshift-merge-bot[bot] committed Aug 20, 2024
2 parents 899b05e + 0ade010 commit 577b6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func (b *Builder) Run(command []string, options RunOptions) error {
// Only add entries here if we do not have to do setup network,
// if we do we have to do it much later after the network setup.
if !configureNetwork {
err = b.addResolvConfEntries(resolvFile, nil, nil, false, true)
err = b.addResolvConfEntries(resolvFile, nil, spec, false, true)
if err != nil {
return err
}
Expand Down

0 comments on commit 577b6ac

Please sign in to comment.