freebsd: fix battery-related bug (#1081)

This commit is contained in:
henrygd
2025-08-26 18:39:42 -04:00
parent e2a57dc43b
commit b13915b76f
5 changed files with 69 additions and 34 deletions

View File

@@ -36,7 +36,6 @@ type Agent struct {
server *ssh.Server // SSH server
dataDir string // Directory for persisting data
keys []gossh.PublicKey // SSH public keys
hasBattery bool // true if agent has access to battery stats
}
// NewAgent creates a new agent with the given data directory for persisting data.