kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Moved exit within if block
rodzic
aee00077d4
commit
10abe3575a
6
index.js
6
index.js
|
@ -533,6 +533,8 @@ if (config.powercycle){
|
|||
}
|
||||
|
||||
async.series(commands, err => {
|
||||
if (err) logger.error("Error during startup: " + err.message);
|
||||
process.exit(1);
|
||||
if (err){
|
||||
logger.error("Error during startup: " + err.message);
|
||||
process.exit(1);
|
||||
}
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue