1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-21 16:15:57 +01:00

Fix typo in Permissions.String.

This commit is contained in:
Juliusz Chroboczek 2024-10-30 17:33:58 +01:00
parent f8f7b539f1
commit 7fe6a5da91

View file

@ -91,7 +91,7 @@ func (p Permissions) String() string {
return p.name
}
v, err := json.Marshal(p)
if err == nil {
if err != nil {
return fmt.Sprintf("(ERROR=%v)", err)
}
return string(v)