From 186ae171510d502d962284016032aa27b83a624e Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Thu, 23 Apr 2020 10:08:12 -0700 Subject: [PATCH] Updated so Root/User/Login all do the samething --- agents/recoverycore.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agents/recoverycore.js b/agents/recoverycore.js index 74efcd8b..2fa1138d 100644 --- a/agents/recoverycore.js +++ b/agents/recoverycore.js @@ -249,7 +249,8 @@ require('MeshAgent').AddCommandHandler(function (data) { // Take a look at the protocol this.httprequest.protocol = parseInt(data); if (typeof this.httprequest.protocol != 'number') { this.httprequest.protocol = 0; } - if (this.httprequest.protocol == 1) { + if ((this.httprequest.protocol == 1) || (this.httprequest.protocol == 6) || (this.httprequest.protocol == 8) || (this.httprequest.protocol == 9)) + { // Remote terminal using native pipes if (process.platform == "win32") {