mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: shell path to unraid-api
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user