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

master
Bala FA 9 years ago committed by Harshavardhana
parent 50d25ca94a
commit 2f136e92f7
  1. 2
      posix-list-dir-others.go

@ -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
} }

Loading…
Cancel
Save