Skip to content
Snippets Groups Projects
Unverified Commit 52f0bf51 authored by Mariano Cano's avatar Mariano Cano Committed by GitHub
Browse files

Merge pull request #24 from ju1ius/ju1ius/gh-23

removes init $PATH checks from trustore_linux.go
parents 1dbd4728 ee39a93c
No related branches found
No related tags found
No related merge requests found
...@@ -44,12 +44,6 @@ func init() { ...@@ -44,12 +44,6 @@ func init() {
SystemTrustFilename = "/etc/ssl/certs/%s.crt" SystemTrustFilename = "/etc/ssl/certs/%s.crt"
SystemTrustCommand = []string{"trust", "extract-compat"} SystemTrustCommand = []string{"trust", "extract-compat"}
} }
if SystemTrustCommand != nil {
_, err := exec.LookPath(SystemTrustCommand[0])
if err != nil {
SystemTrustCommand = nil
}
}
} }
func pathExists(path string) bool { func pathExists(path string) bool {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment