From 481e842f3325c16cf16fd29ce51658ae697ba9f5 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Wed, 24 Aug 2016 15:45:26 +0100 Subject: [PATCH] fix commandRunner error to match dockerRunner --- services/clsi/app/coffee/CommandRunner.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/clsi/app/coffee/CommandRunner.coffee b/services/clsi/app/coffee/CommandRunner.coffee index 11bbff82d3..f47af00177 100644 --- a/services/clsi/app/coffee/CommandRunner.coffee +++ b/services/clsi/app/coffee/CommandRunner.coffee @@ -27,8 +27,8 @@ module.exports = CommandRunner = err = new Error("terminated") err.terminated = true return callback(err) - else if code - err = new Error("exit") + else if code is 1 # exit status from chktex + err = new Error("exited") err.code = code return callback(err) else