1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fix issues with linux/macos terminal

This commit is contained in:
TotallyNotElite 2020-02-05 20:45:42 +01:00
parent 88af7ee26a
commit 6bf82c7cb3
2 changed files with 2 additions and 2 deletions

View file

@ -1240,7 +1240,7 @@ function createMeshCore(agent) {
var sh = fs.existsSync('/bin/sh') ? '/bin/sh' : false;
var login = process.platform == 'linux' ? '/bin/login' : '/usr/bin/login';
var env = { HISTCONTROL: 'ignoreboth', TERM: 'xterm' };
var env = { HISTCONTROL: 'ignoreboth' };
if (this.httprequest.xoptions)
{
if (this.httprequest.xoptions.rows) { env.LINES = ('' + this.httprequest.xoptions.rows); }