From 832e618602d5a41b9628f551b3a85a867ec40a44 Mon Sep 17 00:00:00 2001 From: si458 Date: Mon, 15 Apr 2024 18:48:25 +0100 Subject: [PATCH] forgot semicolon in a hurry meshctrl.js #6029 Signed-off-by: si458 --- meshctrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshctrl.js b/meshctrl.js index 07767cc6..829c8a19 100644 --- a/meshctrl.js +++ b/meshctrl.js @@ -1117,7 +1117,7 @@ function performConfigOperations(args) { if (fs.existsSync(configFile) == false) { console.log("Unable to find config.json."); return; } var config = null; try { config = fs.readFileSync(configFile).toString('utf8'); } catch (ex) { console.log("Error: Unable to read config.json"); return; } - try { config = JSON.parse(fs.readFileSync(configFile)) } catch (e) { console.log('ERROR: Unable to parse ' + configFile + '.'); return null; } + try { config = JSON.parse(fs.readFileSync(configFile)); } catch (e) { console.log('ERROR: Unable to parse ' + configFile + '.'); return null; } if (args.adddomain != null) { didSomething++; if (config.domains == null) { config.domains = {}; }