Skip to content

Commit

Permalink
Fix typo in Permissions.String.
Browse files Browse the repository at this point in the history
  • Loading branch information
jech committed Oct 30, 2024
1 parent f8f7b53 commit 7fe6a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion group/description.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7fe6a5d

Please sign in to comment.