diff options
Diffstat (limited to 'deps/npm/lib/utils/error-handler.js')
-rw-r--r-- | deps/npm/lib/utils/error-handler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/utils/error-handler.js b/deps/npm/lib/utils/error-handler.js index 8637592ab1..a82f97ec1d 100644 --- a/deps/npm/lib/utils/error-handler.js +++ b/deps/npm/lib/utils/error-handler.js @@ -44,7 +44,7 @@ process.on("exit", function (code) { }) function exit (code, noLog) { - exitCode = exitCode || code + exitCode = exitCode || process.exitCode || code var doExit = npm.config.get("_exit") log.verbose("exit", [code, doExit]) |