fix: waiter config discovery fallback for root, socket path from config

This commit is contained in:
root
2026-07-16 21:53:21 +08:00
parent 830e7e4270
commit 28d631ca78

View File

@ -68,6 +68,7 @@ func configCandidates() []string {
if home != "" {
cands = append(cands, filepath.Join(home, ".config", "homeagent", "waiter.yaml"))
}
cands = append(cands, "/root/.config/homeagent/waiter.yaml")
cands = append(cands, filepath.Join(".", "waiter.yaml"))