diff --git a/init.lua b/init.lua index 9e6fb92..c01fb60 100644 --- a/init.lua +++ b/init.lua @@ -16,7 +16,8 @@ function shutdown.startplugin() local function menu_callback(index, event) if event == "select" and index == 3 then - os.execute("shutdown /s /t 0") + manager:machine():exit() + os.execute("shutdown /s /t 10") end return false end