mirror of
https://github.com/unraid/api.git
synced 2026-02-17 13:38:29 -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';
|
import { CliModule } from '@app/unraid-api/cli/cli.module';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const shellToUse = execSync('which bash').toString().trim();
|
const shellToUse = execSync('which unraid-api').toString().trim();
|
||||||
await CommandFactory.run(CliModule, {
|
await CommandFactory.run(CliModule, {
|
||||||
cliName: 'unraid-api',
|
cliName: 'unraid-api',
|
||||||
logger: false, // new LogService(), - enable this to see nest initialization issues
|
logger: false, // new LogService(), - enable this to see nest initialization issues
|
||||||
|
|||||||
Reference in New Issue
Block a user