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
pull/716/head v0.4.0
Yoav Rotem 4 years ago committed by GitHub
parent 90b7ae6628
commit 714430c7fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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")

Loading…
Cancel
Save