Skip to content

Commit 7b98f75

Browse files
committed
shim.c: set shutdown timemout to 90 seconds in error case
This allows the user more time to read the error messages. Signed-off-by: Thore Sommer <[email protected]>
1 parent 8b3f5ce commit 7b98f75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1997,7 +1997,7 @@ efi_main (EFI_HANDLE passed_image_handle, EFI_SYSTEM_TABLE *passed_systab)
19971997
#if defined(ENABLE_SHIM_DEVEL)
19981998
devel_egress(COLD_RESET);
19991999
#else
2000-
usleep(5000000);
2000+
usleep(90000000); // 90 sec
20012001
RT->ResetSystem(EfiResetShutdown, EFI_SECURITY_VIOLATION,
20022002
0, NULL);
20032003
#endif

0 commit comments

Comments
 (0)