Skip to content

Commit

Permalink
Merge pull request #8922 from rook/mergify/bp/release-1.7/pr-8917
Browse files Browse the repository at this point in the history
core:  close stdoutPipe for the discovery daemon (backport #8917)
  • Loading branch information
mergify[bot] committed Oct 5, 2021
2 parents 0f91763 + 99b1952 commit fe0e4dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/daemon/discover/discover.go
Expand Up @@ -158,6 +158,7 @@ func rawUdevBlockMonitor(c chan string, matches, exclusions []string) {
logger.Warningf("Cannot open udevadm stdout: %v", err)
return
}
defer stdout.Close()

err = cmd.Start()
if err != nil {
Expand Down

0 comments on commit fe0e4dd

Please sign in to comment.