Skip to content
Commit 65266c49 authored by Paul Spooren's avatar Paul Spooren
Browse files

luci-app-attendedsysupgrade: fix missing efi path



If running on a non EFI system, the file `/sys/firmware/efi` is not
available and therefore results in an error of `fs.stat`. Wrap it with
`L.resolveDefault` to avoid the error message and make it work on
non-EFI devices again.

Signed-off-by: default avatarPaul Spooren <mail@aparcar.org>
parent 1eddbe0f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment