From 159191aec1f1b3c4eca4b78c18aacdbef7668cfc Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 6 Oct 2025 20:21:11 -0700 Subject: [PATCH] no sudo --- bin/reboot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reboot.ts b/bin/reboot.ts index 0da4dad..a2b078c 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.$`/usr/bin/sudo /bin/systemctl start nose-reboot.service`, 1000) + setTimeout(async () => await Bun.$`/bin/systemctl start nose-reboot.service`, 1000) return { text: "Rebooting... This will take about 10 seconds.",