1
0
mirror of https://github.com/directorz/mailfull-go.git synced 2025-12-24 04:57:03 +00:00

Cosmetic changes

This commit is contained in:
teru
2016-07-31 17:13:59 +09:00
parent 70b036b6c1
commit b867c701b8

View File

@@ -296,7 +296,7 @@ func (r *Repository) userForwards(domainName, userName string) ([]string, error)
file, err := os.Open(filepath.Join(r.DirMailDataPath, domainName, userName, FileNameUserForwards))
if err != nil {
if err.(*os.PathError).Err == syscall.ENOENT {
return []string{}, nil
return nil, nil
}
return nil, err