On Thu, Oct 02, 2014 at 01:51:25AM +0100, Ben Hutchings wrote: >On Thu, 2014-10-02 at 00:29 +0100, Steve McIntyre wrote: >> From: Steve McIntyre <st...@einval.com> >> Date: Thu, 2 Oct 2014 00:01:28 +0100 >> Subject: [PATCH] Recognise the new ignore_uefi flag from partman-efi >[...] >> --- a/src/system/efi.c >> +++ b/src/system/efi.c >> @@ -28,7 +28,14 @@ int di_system_is_efi(void) >> { >> int ret = access("/sys/firmware/efi", R_OK); >> if (ret == 0) >> - return 1; >> + { >> + /* Have we been told to ignore EFI in partman-efi? */ >> + ret = access("/var/lib/partman/ignore_uefi", R_OK); >> + if (ret == 0) >> + return 1; > >Should be return 0?
Doh, yes! Cut and paste error, didn't show up in testing due to the belt and braces effect I mentioned earlier... Thanks! -- Steve McIntyre, Cambridge, UK. st...@einval.com "You can't barbecue lettuce!" -- Ellie Crane -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org