diff options
| author | Shulhan <ms@kilabit.info> | 2018-05-24 22:23:56 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-05-24 22:23:56 +0700 |
| commit | bb551cb628cc3a7fd7fb34000c64ac51b7b1d153 (patch) | |
| tree | 081d550f0e09ddd8a163abf08f71643d7f2c9ad5 /common.go | |
| parent | 4f4754c2fbd7912f20e87da9d42cc04e660aa101 (diff) | |
| download | beku-bb551cb628cc3a7fd7fb34000c64ac51b7b1d153.tar.xz | |
Replace "log" with "fmt"
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -9,7 +9,6 @@ import ( "bytes" "fmt" "io" - "log" "os" "strings" ) @@ -103,7 +102,7 @@ func confirm(in io.Reader, msg string, defIsYes bool) bool { for { b, err = r.ReadByte() if err != nil { - log.Println(err) + fmt.Fprintln(os.Stderr, err) break } if b == ' ' || b == '\t' { |
