diff --git a/src/efibootmgr.service.ts b/src/efibootmgr.service.ts index 6173ed9..daaf4be 100644 --- a/src/efibootmgr.service.ts +++ b/src/efibootmgr.service.ts @@ -1,6 +1,7 @@ import { $ } from "bun"; import type z from "zod"; import type { BootEntries } from "./efibootmgr.schema"; +import { logger } from "./logger"; export class EfiBootMgrService { async reboot() { @@ -80,6 +81,8 @@ export class EfiBootMgrService { async listBootEntries(): Promise> { const output = await $`efibootmgr`.text(); + logger.info(output); + return this.parseEfiBootMgrOutput(output); } }