Stop Gracefully fixed
This commit is contained in:
1 parent
806762adf7
commit
4b2a95a390
4 files changed
+41
-33
No files matched your search
@@ -330,6 +330,7 @@
|
||||
|
||||
if (FULL_LOG === true) { logger.write("[INFO] run -> loopControl -> Stopping the Loop Gracefully. See you next time! :-)"); }
|
||||
callBackFunction(global.DEFAULT_OK_RESPONSE);
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
@@ -357,7 +358,7 @@
|
||||
try {
|
||||
|
||||
vmConfig = JSON.parse(fs.readFileSync('this.vm.config.json', 'utf8'));
|
||||
return vmConfig.stopGrafully;
|
||||
return JSON.parse(vmConfig.stopGrafully);
|
||||
}
|
||||
catch (err) {
|
||||
const logText = "[ERROR] 'readConfig' - ERROR : " + err.message;
|
||||
|
||||
Reference in new issue
Block a user