Skip to content

Commit bc229e7

Browse files
Update api/src/unraid-api/cli/start.command.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent b0f395e commit bc229e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/unraid-api/cli/start.command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class StartCommand extends CommandRunner {
1919
this.logger.info('Starting the Unraid API');
2020

2121
// Update PM2 first if necessary
22-
const { stderr: updateErr, stdout: updateOut } = await execa(`${PM2_PATH} update`);
22+
const { stderr: updateErr, stdout: updateOut } = await execa(PM2_PATH, ['update']);
2323
if (updateOut) {
2424
this.logger.log(updateOut);
2525
}

0 commit comments

Comments
 (0)