Remove unreachable "return" statement
Since all cases of the switch statement finish with a "return"
statement, there's no way the final return statement in the function can
be executed. Remove it, to silence a "go vet" warning.
@@ -144,8 +144,6 @@ func (beacon *Beacon) run(command string, client *ssh.Client, signals <-chan os.
case err := <-keepaliveFailed:
return err
}
-
- return nil
}
func (beacon *Beacon) keepAlive(conn ssh.Conn) (<-chan error, chan<- struct{}) {
