Ugh... I have just realized that this will not build properly if
HAVE_ATEXIT is not defined. Please look below...
On Mon, May 24, 2021 at 10:59:34AM +0100, Dimitri John Ledkov wrote:
> From: Dimitri John Ledkov
>
> Refactor clean_grub_dir to create a backup of all the files, instead
> of just irr
On Mon, May 24, 2021 at 10:59:34AM +0100, Dimitri John Ledkov wrote:
> From: Dimitri John Ledkov
>
> Refactor clean_grub_dir to create a backup of all the files, instead
> of just irrevocably removing them as the first action. If available,
> register atexit handle to restore the backup if errors