diff --git a/cmd/util.go b/cmd/util.go index 2ab2cca..d650d69 100644 --- a/cmd/util.go +++ b/cmd/util.go @@ -126,7 +126,7 @@ func getConfigFilePath(benchmarkVersion string, filename string) (path string, e glog.V(2).Info(fmt.Sprintf("Looking for config specific CIS version %q", benchmarkVersion)) path = filepath.Join(cfgDir, benchmarkVersion) - file := filepath.Join(path, string(filename)) + file := filepath.Join(path, filename) glog.V(2).Info(fmt.Sprintf("Looking for file: %s", file)) if _, err := os.Stat(file); err != nil {