Ref: ensure comment matches reality
This commit is contained in:
committed by
Sheepit Renderfarm
parent
b97054738b
commit
bd3fc92634
@@ -126,7 +126,7 @@ public class Mac extends OS {
|
||||
|
||||
@Override public void shutdownComputer(int delayInMinutes) {
|
||||
try {
|
||||
// Shutdown the computer waiting 1 minute to allow all SheepIt threads to close and exit the app
|
||||
// Shutdown the computer waiting delayInMinutes minutes to allow all SheepIt threads to close and exit the app
|
||||
ProcessBuilder builder = new ProcessBuilder("shutdown", "-h", String.valueOf(delayInMinutes));
|
||||
Process process = builder.inheritIO().start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user