Closed RichieB2B closed 6 years ago
Sorry, saw your code a little bit to late while I have the fix already submitted. But anyway, it is fixed now.
Your fix in 5e6109056708183e25b90b0a25d28435d12c5969 is incomplete. If you catch the exception the parameter
variable will be undefined, or worse: it will still be the value from the last iteration which is then cleared. My fix just ignores lines without =
in them.
Adopted in your way.
Thanks!
Some /etc/os-release files have empty lines (like the OSMC vero4k development branch). This results in: