Fix broken fix

Fixes c01eea2b9d650fe1c0e3303cdd52249dff345329

TotallyNotElite committed Nov 24, 2019 at 20:03 UTC 480f64c2f4bbfb1220887d5c63e1fde241a97315
1 file changed +1 -1
agents/meshcore.js
+1 -1
@@ -1100,7 +1100,7 @@ function createMeshCore(agent) {
1100 this.prependListener('end', function () { this.httprequest._term.end(function () { console.log('Terminal was closed'); }); });
1101 } else {
1102 if (fs.existsSync("/usr/bin/python") && fs.existsSync("/bin/bash")) {
1103 - this.httprequest.process = childProcess.execFile("/usr/bin/python", [ "python", "-c", "import pty; pty.spawn([\"/bin/bash\"])" ], { type: childProcess.SpawnTypes.TERM });
1103 + this.httprequest.process = childProcess.execFile("/usr/bin/python", [ "python", "-c", "import pty; pty.spawn([\"/bin/bash\"])" ]);
1104 if (process.platform == 'linux') { this.httprequest.process.stdin.write("export TERM='xterm'\nalias ls='ls --color=auto'\nclear\n"); }
1105 }
1106 else if (fs.existsSync("/bin/bash")) {