Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugefiver committed Dec 10, 2021
1 parent 336faaa commit ee4d5e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func initArgs(a ArgsStruct, helpF func()) {

}

var authError = errors.New("auth failed ")
var errAuth = errors.New("auth failed")

func rejectAll(conn ssh.ConnMetadata, password []byte) (*ssh.Permissions, error) {
delay := cl.Delay
Expand Down Expand Up @@ -209,5 +209,5 @@ func rejectAll(conn ssh.ConnMetadata, password []byte) (*ssh.Permissions, error)

}

return nil, authError
return nil, errAuth
}

0 comments on commit ee4d5e8

Please sign in to comment.