mirror of
https://github.com/directorz/mailfull-go.git
synced 2026-01-08 20:21:56 +00:00
Cosmetic changes
This commit is contained in:
@@ -296,7 +296,7 @@ func (r *Repository) userForwards(domainName, userName string) ([]string, error)
|
|||||||
file, err := os.Open(filepath.Join(r.DirMailDataPath, domainName, userName, FileNameUserForwards))
|
file, err := os.Open(filepath.Join(r.DirMailDataPath, domainName, userName, FileNameUserForwards))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err.(*os.PathError).Err == syscall.ENOENT {
|
if err.(*os.PathError).Err == syscall.ENOENT {
|
||||||
return []string{}, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user