mirror of
https://github.com/jech/galene.git
synced 2024-11-09 02:05:59 +01:00
Fix typo in Permissions.String.
This commit is contained in:
parent
f8f7b539f1
commit
7fe6a5da91
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue