diff --git a/truststore_linux.go b/truststore_linux.go index 6d79c6d500c7d3e4231e2576dd1861876546fd0f..03bb2698dfda72cc8d7458660ca8cc07fe021a77 100644 --- a/truststore_linux.go +++ b/truststore_linux.go @@ -44,12 +44,6 @@ func init() { SystemTrustFilename = "/etc/ssl/certs/%s.crt" SystemTrustCommand = []string{"trust", "extract-compat"} } - if SystemTrustCommand != nil { - _, err := exec.LookPath(SystemTrustCommand[0]) - if err != nil { - SystemTrustCommand = nil - } - } } func pathExists(path string) bool {