fix(cli/systemd): Fix status command to pass debug flag and improve systemd status logging output
This commit is contained in:
@@ -182,7 +182,9 @@ export class NupstCli {
|
||||
* Show status of the systemd service and UPS
|
||||
*/
|
||||
private async status(): Promise<void> {
|
||||
await this.nupst.getSystemd().getStatus();
|
||||
// Extract debug options from args array
|
||||
const debugOptions = this.extractDebugOptions(process.argv);
|
||||
await this.nupst.getSystemd().getStatus(debugOptions.debugMode);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user