Skip to content

Commit

Permalink
Quick fix for the reporters issue #263
Browse files Browse the repository at this point in the history
This really is more of a workaround rather then proper fix. Dredd needs
to refactor and rework of the language hooks handling, especially
graceful stopping as `SIGKILL` is definitely not the way to go.
  • Loading branch information
w-vi committed Aug 21, 2015
1 parent 098be8f commit c3044da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks-worker-client.coffee
Expand Up @@ -61,7 +61,7 @@ handler.stderr.on 'data', (data) ->

handler.on 'close', (status) ->
console.log "Hook handler exited with status: #{status}"
if status != 0
if status != 0 || status != null
hooks.processExit 2

handler.on 'error', (error) ->
Expand Down

0 comments on commit c3044da

Please sign in to comment.