Skip to content

Commit

Permalink
shim.c: set shutdown timemout to 90 seconds in error case
Browse files Browse the repository at this point in the history
This allows the user more time to read the error messages.

Signed-off-by: Thore Sommer <[email protected]>
  • Loading branch information
THS-on committed Aug 22, 2024
1 parent 8b3f5ce commit 7b98f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -1997,7 +1997,7 @@ efi_main (EFI_HANDLE passed_image_handle, EFI_SYSTEM_TABLE *passed_systab)
#if defined(ENABLE_SHIM_DEVEL)
devel_egress(COLD_RESET);
#else
usleep(5000000);
usleep(90000000); // 90 sec
RT->ResetSystem(EfiResetShutdown, EFI_SECURITY_VIOLATION,
0, NULL);
#endif
Expand Down

0 comments on commit 7b98f75

Please sign in to comment.