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

Loading…
Cancel
Save