Ref: ensure comment matches reality

This commit is contained in:
Bryan Stenson
2021-09-10 11:49:22 +02:00
committed by Sheepit Renderfarm
parent b97054738b
commit bd3fc92634
4 changed files with 6 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ public class Windows extends OS {
@Override public void shutdownComputer(int delayInMinutes) {
try {
// Shutdown the computer, waiting 60 seconds, force app closure and on the shutdown screen indicate that was initiated by SheepIt app
// Shutdown the computer, waiting delayInMinutes minutes, force app closure and on the shutdown screen indicate that was initiated by SheepIt app
ProcessBuilder builder = new ProcessBuilder("shutdown", "/s", "/f", "/t", String.valueOf(delayInMinutes * 60), "/c", "\"SheepIt App has initiated this computer shutdown.\"");
Process process = builder.inheritIO().start();
}