debuginfod-find stderr may contain diagnostics; look at stdout only for filename (#3381)

This commit is contained in:
Frank Ch. Eigler 2023-05-23 14:11:51 -04:00 committed by GitHub
parent 3b251c9dd3
commit 68f58561bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,7 +12,7 @@ func execFind(args ...string) (string, error) {
return "", err
}
cmd := exec.Command(debuginfodFind, args...)
out, err := cmd.CombinedOutput()
out, err := cmd.Output() // ignore stderr
if err != nil {
return "", err
}