diff --git a/src/index.js b/src/index.js index 9f13faf..59a354c 100644 --- a/src/index.js +++ b/src/index.js @@ -2078,10 +2078,9 @@ if (cluster.isPrimary || cluster.isPrimary === undefined) { process.on("exit", function (code) { try { - // TODO: saveConfig function - /*if (!configJSONRErr && !configJSONPErr) { + if (!configJSONRErr && !configJSONPErr) { saveConfig(); - }*/ + } } catch (err) { serverconsole.locwarnmessage( "There was a problem while saving configuration file. Reason: " +