From 5ff3833b9ef17079098dab09f8dc025d3e66e2a7 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 23 May 2023 12:09:04 -0400 Subject: [PATCH] debuginfod-find stderr may contain diagnostics; look at stdout only for filename --- pkg/proc/debuginfod/debuginfod.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proc/debuginfod/debuginfod.go b/pkg/proc/debuginfod/debuginfod.go index a46d98067c..e0297b1f61 100644 --- a/pkg/proc/debuginfod/debuginfod.go +++ b/pkg/proc/debuginfod/debuginfod.go @@ -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 }