9p: -tcp implies -nodbus for remote deployments

This commit is contained in:
Levi Neely 2026-07-18 21:42:52 +02:00
parent aeb933a3c2
commit 39d14eae16
1 changed files with 2 additions and 1 deletions

View File

@ -267,7 +267,8 @@ func runServer(sockPath, pidPath string) {
})
// Start D-Bus adapter (best-effort; pure 9P still works without it).
if !*nodbus {
// -tcp implies -nodbus (remote/headless deployments have no session bus).
if !*nodbus && *tcpAddr == "" {
dbusAdapter = startDBus(mgr)
dbusAdapter.WatchExisting()
}