From 966d14a5b1a2e10f8eb2ca51d17b66566d433c4a Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 6 Oct 2025 19:47:43 -0700 Subject: [PATCH] sudoers --- bin/reboot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reboot.ts b/bin/reboot.ts index 796bd01..4b1d3b8 100644 --- a/bin/reboot.ts +++ b/bin/reboot.ts @@ -1,6 +1,6 @@ // Reboot the whole computer! Careful! export default async function reboot() { - setTimeout(async () => await Bun.$`reboot`, 1000) + setTimeout(async () => await Bun.$`sudo reboot`, 1000) return { text: "Rebooting... This will take about 10 seconds.",