Commit 2df05ca2 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in ReadPublicGroups.

parent 98235afe
...@@ -829,6 +829,7 @@ func ReadPublicGroups() { ...@@ -829,6 +829,7 @@ func ReadPublicGroups() {
func(path string, fi os.FileInfo, err error) error { func(path string, fi os.FileInfo, err error) error {
if err != nil { if err != nil {
log.Printf("Group file %v: %v", path, err) log.Printf("Group file %v: %v", path, err)
return nil
} }
if fi.IsDir() { if fi.IsDir() {
return nil return nil
...@@ -859,6 +860,6 @@ func ReadPublicGroups() { ...@@ -859,6 +860,6 @@ func ReadPublicGroups() {
) )
if err != nil { if err != nil {
log.Printf("Couldn't read groups: %v", err); log.Printf("Couldn't read groups: %v", err)
} }
} }
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