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