From 158b4b82a5eb4e0d0bfd4ba2e1cadbe7dab41d90 Mon Sep 17 00:00:00 2001 From: Qi Xiao Date: Mon, 22 Feb 2016 18:30:21 +0100 Subject: [PATCH] eval: Log instead of write signals. --- eval/eval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval/eval.go b/eval/eval.go index 93cb5f46..957e7ab6 100644 --- a/eval/eval.go +++ b/eval/eval.go @@ -197,7 +197,7 @@ func (ev *Evaler) EvalInteractive(text string, n *parse.Chunk) error { for { select { case sig := <-sigch: - fmt.Println(sig) + Logger.Println("from stub:", sig) if sig == syscall.SIGINT { close(intCh) return