From 9921d72b96213d3b4d1f7207b9e4c739be16fa5e Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sun, 10 Dec 2023 13:30:34 +0100 Subject: [PATCH] Remove duplicate shell reporting --- server/http_server.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/server/http_server.ts b/server/http_server.ts index 8cbcf1f1..30c08b42 100644 --- a/server/http_server.ts +++ b/server/http_server.ts @@ -352,19 +352,11 @@ export class HttpServer { switch (body.operation) { case "shell": { const shellCommand: ShellRequest = body; - console.log( - "Running shell command:", - shellCommand.cmd, - shellCommand.args, - ); const shellResponse = await spaceServer.shellBackend.handle( shellCommand, ); response.headers.set("Content-Type", "application/json"); response.body = JSON.stringify(shellResponse); - if (shellResponse.code !== 0) { - console.error("Error running shell command", shellResponse); - } return; } case "syscall": {