summaryrefslogtreecommitdiff
path: root/input/stdin/stdin.go
diff options
context:
space:
mode:
Diffstat (limited to 'input/stdin/stdin.go')
-rw-r--r--input/stdin/stdin.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/input/stdin/stdin.go b/input/stdin/stdin.go
index e2910ec..394b952 100644
--- a/input/stdin/stdin.go
+++ b/input/stdin/stdin.go
@@ -35,9 +35,8 @@ func (i *StdinInput) Start() chan *work.Work {
}
if err != nil {
fmt.Printf("Error when reading input from Stdin: %q", err)
- os.Exit(1)
}
- i.retchan <- &work.Work{Data: bs}
+ i.retchan <- &work.Work{Data: bs, Err: err}
}
close(i.retchan)
}()