Skip to content

Commit c9dccb2

Browse files
THS-onvathpela
authored andcommitted
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 65c4e51 commit c9dccb2

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
@@ -1996,7 +1996,7 @@ efi_main (EFI_HANDLE passed_image_handle, EFI_SYSTEM_TABLE *passed_systab)
19961996
#if defined(ENABLE_SHIM_DEVEL)
19971997
devel_egress(COLD_RESET);
19981998
#else
1999-
usleep(5000000);
1999+
usleep(90000000); // 90 sec
20002000
RT->ResetSystem(EfiResetShutdown, EFI_SECURITY_VIOLATION,
20012001
0, NULL);
20022002
#endif

0 commit comments

Comments
 (0)