Remove dead code and old comment

master
Merlijn B. W. Wajer 7 years ago
parent 84cc2e9221
commit 0a65d24f73
  1. 3
      sshd.go

@ -21,8 +21,6 @@ import (
"golang.org/x/crypto/ssh"
)
// TODO: Use defer where useful
var (
authorisedKeys map[string]deviceInfo
@ -437,7 +435,6 @@ func registerReloadSignal() {
go func() {
for sig := range c {
_ = sig
log.Printf("Received signal: \"%s\". Reloading authorised keys.", sig.String())
loadAuthorisedKeys(*authorisedkeys)
}

Loading…
Cancel
Save