Skip to content

Commit e02b6c1

Browse files
committed
fix: do not process.exit on restart or stop command
1 parent fb9c8bb commit e02b6c1

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@ export class RestartCommand extends CommandRunner {
3939
}
4040
process.exit(1);
4141
}
42-
process.exit(0);
4342
}
4443
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ export class StopCommand extends CommandRunner {
1515
if (stderr) {
1616
process.exit(1);
1717
}
18-
process.exit(0);
1918
}
2019
}

0 commit comments

Comments
 (0)