Skip to content

Commit 45ceab6

Browse files
authored
Using an exit code of 1 when edgemicro start returns an error. (#44)
1 parent 433f8c0 commit 45ceab6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cli/cmd.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ const setup = function setup() {
106106
if(cluster.isMaster){
107107
if(!err) {
108108
console.log("edgemicro started successfully.")
109-
}else{
109+
} else {
110110
console.error(err);
111+
process.exit(1);
111112
}
112113
}
113114
});
@@ -168,4 +169,4 @@ function promptForPassword( options, cb) {
168169
}
169170

170171

171-
module.exports = setup;
172+
module.exports = setup;

0 commit comments

Comments
 (0)