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.",