From 714430c7fcb718de0b9d9d350aec26445d218b46 Mon Sep 17 00:00:00 2001 From: Yoav Rotem Date: Sat, 3 Oct 2020 13:51:13 +0300 Subject: [PATCH] Not exiting when executable not found (#702) Regrading https://github.com/aquasecurity/kube-bench/issues/701 where kube bench is crushing when not finding components --- cmd/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/common.go b/cmd/common.go index d9674fc..49a4e2d 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -91,7 +91,7 @@ func runChecks(nodetype check.NodeType, testYamlFile string) { // Checks that the executables we need for the section are running. if err != nil { - exitWithError(fmt.Errorf("failed to get a set of executables needed for tests: %v", err)) + glog.V(1).Info(fmt.Sprintf("failed to get a set of executables needed for tests: %v", err)) } confmap := getFiles(typeConf, "config")