Skip to content

Commit

Permalink
main: fix dropped error
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs committed Oct 27, 2023
1 parent 50d6a1e commit e13f40b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ func Main(c *config.C, configTest bool, buildVersion string, logger *logrus.Logg
tunCidr := certificate.Details.Ips[0]

ssh, err := sshd.NewSSHServer(l.WithField("subsystem", "sshd"))
if err != nil {
return nil, util.ContextualizeIfNeeded("Error while creating SSH server", err)
}
wireSSHReload(l, ssh, c)
var sshStart func()
if c.GetBool("sshd.enabled", false) {
Expand Down

0 comments on commit e13f40b

Please sign in to comment.