Merge pull request #23 from ngauthier/return-errors-from-pipes-and-exit

return ok bool instead of error bool
This commit is contained in:
Matthias Kadenbach 2014-12-19 12:06:46 -08:00
commit bcba31af11
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ func writePipe(pipe chan interface{}) bool {
select {
case item, ok := <-pipe:
if !ok {
return errorFlag
return !errorFlag
} else {
switch item.(type) {