From c100a48fc85c5e994f0e3088bdac47f819794e11 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson Date: Fri, 8 Apr 2016 20:38:11 +0100 Subject: [PATCH] fix(must-reset): exit code 1 on reset account error --- scripts/must-reset.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/must-reset.js b/scripts/must-reset.js index 072c34b7..63aefad0 100644 --- a/scripts/must-reset.js +++ b/scripts/must-reset.js @@ -69,6 +69,7 @@ DB.connect(config[config.db.backend]) ) .catch(function (err) { log.error({ op: 'reset.failed', uid: uid, err: err }) + process.exit(1) }) } ))