Commit 8c4f07ef authored by Jakob Borg's avatar Jakob Borg

Crash slightly more controlled under weird circumstances...

parent 1a231d39
......@@ -210,6 +210,9 @@ func (m *Set) equals(id uint, fs []scanner.File) bool {
func (m *Set) update(cid uint, fs []scanner.File) {
remFiles := m.remoteKey[cid]
if remFiles == nil {
l.Fatalln("update before replace for cid", cid)
for _, f := range fs {
n := f.Name
fk := keyFor(f)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment