mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: do not process.exit on restart or stop command
This commit is contained in:
@@ -39,6 +39,5 @@ export class RestartCommand extends CommandRunner {
|
||||
}
|
||||
process.exit(1);
|
||||
}
|
||||
process.exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,5 @@ export class StopCommand extends CommandRunner {
|
||||
if (stderr) {
|
||||
process.exit(1);
|
||||
}
|
||||
process.exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user