mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
* util/grub-mkimage.c (main): Explicitely flush and sync the output
before closing to ensure that it will be readable by grub-setup.
This commit is contained in:
1 parent
072b5d315a
commit
ea75312f31
2 files changed
+7
No files matched your search
@@ -1609,6 +1609,8 @@ main (int argc, char *argv[])
|
||||
argv + optind, memdisk, config,
|
||||
image_target, note, comp);
|
||||
|
||||
fflush (fp);
|
||||
fsync (fileno (fp));
|
||||
fclose (fp);
|
||||
|
||||
if (dir)
|
||||
|
||||
Reference in new issue
Block a user