From 44d3d939a7be06dc5228b23529c18119290e882f Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Mon, 27 Jan 2025 11:58:24 -0500 Subject: [PATCH] fix: shell path to unraid-api --- api/src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/cli.ts b/api/src/cli.ts index ffcf5c7ff..920d86b64 100644 --- a/api/src/cli.ts +++ b/api/src/cli.ts @@ -9,7 +9,7 @@ import { cliLogger, internalLogger } from '@app/core/log'; import { CliModule } from '@app/unraid-api/cli/cli.module'; try { - const shellToUse = execSync('which bash').toString().trim(); + const shellToUse = execSync('which unraid-api').toString().trim(); await CommandFactory.run(CliModule, { cliName: 'unraid-api', logger: false, // new LogService(), - enable this to see nest initialization issues