summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-16 10:54:45 -0700
committerJeff Carr <[email protected]>2019-06-16 10:54:45 -0700
commit2e37ee24f7313059815bab656e1b6b17b4772f0e (patch)
tree2e8b1777762bc936c3e13b5ff422be6f9a24931b
parent30d3fe09b5e7d117a3db260a6700d95d19a48367 (diff)
use standard log
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--run.go9
1 files 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