Improve stamping of fields in the config

This commit is contained in:
Theodor S. Midtlien
2026-09-16 16:00:25 +02:00
committed by GitHub
parent 58398c29de
commit f469ee98de
4 changed files with 156 additions and 18 deletions
+2 -1
View File
@@ -204,7 +204,8 @@ func (s *ServiceManager) stampActiveUserDir(profiles []Profile, active *ActivePr
continue
}
if err := stampPrincipal(p.Path, principal); err != nil {
return fmt.Errorf("stamp %s: %w", p.ID, err)
log.Warnf("leaving %s unowned, its owner could not be recorded: %v", p.Path, err)
continue
}
log.Infof("recorded %s as the owner of %s, the directory it sits in is that account's", principal, p.Path)
}