From a6584f366c4c76efe54a03495bccbbe6428d8f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lie=20DELHAIE?= Date: Wed, 30 Jul 2025 20:50:51 +0200 Subject: [PATCH] fix no restart --- build.sh => build.bat | 0 main.go | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename build.sh => build.bat (100%) diff --git a/build.sh b/build.bat similarity index 100% rename from build.sh rename to build.bat diff --git a/main.go b/main.go index 556541f..5ab87be 100644 --- a/main.go +++ b/main.go @@ -119,7 +119,7 @@ func reboot(uuid string) { panic(err) } - if err := exec.Command("shutdown", "/r", "/t", "2").Run(); err != nil { + if err := exec.Command("shutdown", "/r", "/t", "0").Run(); err != nil { panic(err) }