From 6a5ceff0add421bc89a3cef4f0c5279e99a9c42d Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 29 May 2022 11:19:46 -0700 Subject: [PATCH] Fixed typo. --- authenticode.js | 2 +- meshcentral.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);