Skip to content
Permalink
Browse files

truststore_linux: remove PATH check for SystemTrustCommand

It's hard to predict what the PATH that sudo will use, and there
shouldn't be many cases where we don't find the command anyway.

Fixes #188
  • Loading branch information...
FiloSottile committed Aug 16, 2019
1 parent 8ff7350 commit 343aec289a131db121e8914a3b873ddf27766960
Showing with 0 additions and 3 deletions.
  1. +0 −3 truststore_linux.go
@@ -45,9 +45,6 @@ func init() {
SystemTrustFilename = "/usr/share/pki/trust/anchors/%s.pem"
SystemTrustCommand = []string{"update-ca-certificates"}
}
if SystemTrustCommand != nil && !binaryExists(SystemTrustCommand[0]) {
SystemTrustCommand = nil
}
}

func (m *mkcert) systemTrustFilename() string {

0 comments on commit 343aec2

Please sign in to comment.
You can’t perform that action at this time.