From 4d5f732b07997311fcbcd1c786130d0795a79367 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sun, 19 Jul 2020 17:48:19 -0600 Subject: [PATCH] Fix spawn calls trying to access wrong .bashrc --- backend/src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/util.ts b/backend/src/util.ts index cdefaf1..5e921bd 100644 --- a/backend/src/util.ts +++ b/backend/src/util.ts @@ -109,7 +109,7 @@ export function privilegedSpawn(ctx: Context, args: string[]) { "spawn", `${uid}`, uuid, - "bash", + "sh", "-c", `exec env -i ${getEnvString(ctx)} "$@"`, "--",