export logger so it can be disabled
This commit is contained in:
@@ -33,8 +33,8 @@ func (c *Conn) connect(display string) error {
|
||||
authName, authData, err := readAuthority(c.host, c.display)
|
||||
noauth := false
|
||||
if err != nil {
|
||||
logger.Printf("Could not get authority info: %v", err)
|
||||
logger.Println("Trying connection without authority info...")
|
||||
Logger.Printf("Could not get authority info: %v", err)
|
||||
Logger.Println("Trying connection without authority info...")
|
||||
authName = ""
|
||||
authData = []byte{}
|
||||
noauth = true
|
||||
|
||||
Reference in New Issue
Block a user