Cleanup
This commit is contained in:
parent
80d6b9f8e6
commit
3d9f11ee56
@ -121,11 +121,8 @@ func (b *BridgeState) startBridge() {
|
||||
}
|
||||
|
||||
if b.BridgeConfig.MumbleCertificate != "" {
|
||||
keyFile := ""
|
||||
if keyFile == "" {
|
||||
keyFile = b.BridgeConfig.MumbleCertificate
|
||||
}
|
||||
if certificate, err := tls.LoadX509KeyPair(b.BridgeConfig.MumbleCertificate, keyFile); err != nil {
|
||||
keyFile := b.BridgeConfig.MumbleCertificate
|
||||
if certificate, err := tls.LoadX509KeyPair(keyFile, keyFile); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "%s: %s\n", os.Args[0], err)
|
||||
os.Exit(1)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user