posix: cleanup usage of fmt.Println() (#1934)

This commit is contained in:
Bala FA 2016-06-20 07:22:19 +05:30 committed by Harshavardhana
parent 50d25ca94a
commit 2f136e92f7

View File

@ -19,7 +19,6 @@
package main package main
import ( import (
"fmt"
"io" "io"
"os" "os"
"strings" "strings"
@ -31,7 +30,6 @@ func readDir(dirPath string) (entries []string, err error) {
if err != nil { if err != nil {
// File is really not found. // File is really not found.
if os.IsNotExist(err) { if os.IsNotExist(err) {
fmt.Println(preparePath(dirPath), err)
return nil, errFileNotFound return nil, errFileNotFound
} }