fix: remove broken check blocking beads/ctl writes when mounts exist

This commit is contained in:
Levi Neely 2026-02-28 21:55:25 +01:00
parent 4d51216fa6
commit 5e36e672a9
1 changed files with 0 additions and 8 deletions

View File

@ -288,14 +288,6 @@ func (b *BeadsFS) Write(path string, data []byte, sessionID string) error {
return fmt.Errorf("write not allowed: %s", path)
}
// If mounts exist, require mountpoint to be specified
b.mountsMu.RLock()
hasMounts := len(b.mounts) > 0
b.mountsMu.RUnlock()
if hasMounts {
return fmt.Errorf("mountpoint required: use <mountname>/ctl instead of ctl")
}
return b.executeCtl(string(data))
}