Skip to content

Commit 7740012

Browse files
committed
main: Wait 1 second before shutdown
This *might* help users running into reboots instead of a shutdown. Maybe. Just a guess. Signed-off-by: Hector Martin <[email protected]>
1 parent 1234d22 commit 7740012

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ def step2_indirect(self):
457457
time.sleep(2)
458458
p_prompt( "Press enter to shut down the system.")
459459
self.input()
460+
time.sleep(1)
460461
os.system("shutdown -h now")
461462

462463
def startup_disk(self, recovery=False, volume_blessed=False, reboot=False):

0 commit comments

Comments
 (0)