From 2e37ee24f7313059815bab656e1b6b17b4772f0e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 16 Jun 2019 10:54:45 -0700 Subject: [PATCH] use standard log Signed-off-by: Jeff Carr --- run.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/run.go b/run.go index 9b74bd3..80ad18d 100644 --- a/run.go +++ b/run.go @@ -10,7 +10,8 @@ import "os" import "bufio" import "github.com/svent/go-nbreader" -import "git.wit.com/wit/log" +import "log" +// import "git.wit.com/wit/log" var msecDelay int = 20 // check every 20 milliseconds @@ -118,14 +119,14 @@ func (cmd *Shell) Exec(cmdline string) { } func (cmd *Shell) Capture(f *File) { - log.Debugln("nbrREADER() START") + // log.Debugln("nbrREADER() START") if (cmd.Buffer == nil) { cmd.Buffer = new(bytes.Buffer) } if (cmd.Buffer == nil) { - log.Debugln("f.Buffer == nil") - log.Debugln("SHOULD DIE HERE") + // log.Debugln("f.Buffer == nil") + // log.Debugln("SHOULD DIE HERE") f.Dead = false cmd.Error = fmt.Errorf("could not make buffer") cmd.Done = true