From 9fc2f31fa111043a8aa58fe8073d7830276c3c97 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Wed, 5 Apr 2023 12:20:45 +0200 Subject: [PATCH] Exit with non-zero status with faulty settings.js Closes #4121 --- packages/node_modules/node-red/red.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/node-red/red.js b/packages/node_modules/node-red/red.js index 2f5ab354c..fb6b21fca 100755 --- a/packages/node_modules/node-red/red.js +++ b/packages/node_modules/node-red/red.js @@ -148,7 +148,7 @@ try { } else { console.log(err); } - process.exit(); + process.exit(1); } if (parsedArgs.define) {