From 439e952a252e48eaf4029ef2d5e51553cf0f73a9 Mon Sep 17 00:00:00 2001 From: James Read Date: Fri, 24 Oct 2025 20:52:01 +0100 Subject: [PATCH] fix: sosreport contains pwd and abs paths (#660) --- service/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/main.go b/service/main.go index 1a0b068..23c9f41 100644 --- a/service/main.go +++ b/service/main.go @@ -130,7 +130,7 @@ func initConfig(configDir string) { var firstConfigPath string for _, directory := range directories { - configPath := filepath.Join(directory, "config.yaml") + configPath, _ := filepath.Abs(filepath.Join(directory, "config.yaml")) log.Debugf("Checking config path: %s", configPath) if _, err := os.Stat(configPath); err != nil {