Updated error message, to show correct binary name

Bryan Roe committed Jun 4, 2022 at 09:35 UTC 3c856765ce634eb34b29d92a3a19b4104ea3b236
1 file changed +1 -1
agents/meshinstall-linux.js
+1 -1
@@ -64,7 +64,7 @@ else
64 if (translation[lang.split('-')[0]] == null)
65 {
66 console.log('Language: ' + lang + ' is not translated.');
67 - console.log("try: './meshcentral -lang=en' for English");
67 + console.log("try: './"+ process.execPath.split('/').pop() + " -lang=en' for English");
68 console.log("See the agent-translations.json file for a list of current languages that are implemented.")
69 process.exit();
70 }