Bug#909118: /proc not mounted before use

2018-09-18 Thread Ian Jackson
George Taylor writes ("Re: Bug#909118: /proc not mounted before use"):
> On 18/09/2018, Ian Jackson  wrote:
> > Thanks.  Have you tried this on a system _with_ a Debian-generated
> > initramfs ?
> 
> Yes, on a Debian 9 VM. When using initramfs /proc/stat exists at that
> point and so the uname test never happens.

Great, thanks.

(I hope you don't mind that I'm CCing this to the bug so there's a
record of your reply.)

Ian.



Bug#909118: /proc not mounted before use

2018-09-18 Thread Ian Jackson
Control: tags -1 patch

George Taylor writes ("Bug#909118: /proc not mounted before use"):
> I suggest replacing elif with a simple else.

Thanks.  Have you tried this on a system _with_ a Debian-generated
initramfs ?

Ian.

-- 
Ian JacksonThese opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.