[misc] fix console hogger not being deleted on exit

* Also update hash DB and readme for latest Grub4DOS
This commit is contained in:
Pete Batard 2021-10-23 15:14:46 +01:00
parent c516c1e38b
commit a519e3b03b
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
5 changed files with 10 additions and 9 deletions

View file

@ -4025,6 +4025,7 @@ out:
if ((!automount) && (!SetAutoMount(FALSE)))
uprintf("Failed to restore AutoMount to disabled");
ubflush();
_chdirU(app_dir);
// Unconditional delete with retry, just in case...
for (i = 0; (!DeleteFileA(cmdline_hogger)) && (i <= 10); i++)
Sleep(200);