diff --git a/authenticode.js b/authenticode.js index 22e2266c..08a41fe4 100644 --- a/authenticode.js +++ b/authenticode.js @@ -450,4 +450,4 @@ if (require.main === module) { start(); } // Exports module.exports.createAuthenticodeHandler = createAuthenticodeHandler; -module.exports.loadCertificates = loadCertificates; \ No newline at end of file +module.exports.loadCertificates = loadCertificates; diff --git a/meshcentral.js b/meshcentral.js index 8e1a99dc..831fe79a 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -2896,7 +2896,7 @@ function CreateMeshCentralServer(config, args) { if ((stats == null)) continue; // If this agent does not exist, skip it. // Check if we need to sign this agent, if so, check if it's already been signed - if ((obj.meshAgentsArchitectureNumbers[archid].codesign === true) && (agentSignCertInfo != null)) {{ + if ((obj.meshAgentsArchitectureNumbers[archid].codesign === true) && (agentSignCertInfo != null)) { // Open the original agent with authenticode var signeedagentpath = obj.path.join(serverSignedAgentsPath, obj.meshAgentsArchitectureNumbers[archid].localname); const originalAgent = require('./authenticode.js').createAuthenticodeHandler(agentpath);