forked from Silverfish/proton-bridge
fix: missing command in exec call
This commit is contained in:
@ -71,6 +71,7 @@ func GetTLSConfig(cfg tlsConfiger) (tlsConfig *tls.Config, err error) {
|
|||||||
|
|
||||||
if runtime.GOOS == "darwin" {
|
if runtime.GOOS == "darwin" {
|
||||||
if err := exec.Command( // nolint[gosec]
|
if err := exec.Command( // nolint[gosec]
|
||||||
|
"/usr/bin/security",
|
||||||
"execute-with-privileges",
|
"execute-with-privileges",
|
||||||
"/usr/bin/security",
|
"/usr/bin/security",
|
||||||
"add-trusted-cert",
|
"add-trusted-cert",
|
||||||
|
|||||||
Reference in New Issue
Block a user