From 7aaad314e3dbd06c640e91f427b291ba1fae4c2c Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 27 Dec 2022 13:39:03 +0100 Subject: [PATCH] Update common.ts --- apps/api/src/lib/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts index 53f2023ee..027a4eaf9 100644 --- a/apps/api/src/lib/common.ts +++ b/apps/api/src/lib/common.ts @@ -584,7 +584,7 @@ export async function executeCommand({ } if (sshCommand) { if (shell) { - return execaCommand(`ssh ${remoteIpAddress}-remote ${command}`, { shell: true }); + return execaCommand(`ssh ${remoteIpAddress}-remote ${command}`); } return await execa('ssh', [`${remoteIpAddress}-remote`, dockerCommand, ...dockerArgs]); }