Skip to content
Commit a1cbf4d5 authored by Enrico Jörns's avatar Enrico Jörns Committed by Steve Sakoman
Browse files

wic: bootimg-efi: fix error handling



If we check for empty variables, it does not make sense to print their
content in case they are empty.

Additionally, the error message in the 'kernel' check attempted to print
the wrong variable ('target') which was not even defined, yet.

Also, raising WicError doesn't require an extra newline.

Signed-off-by: default avatarEnrico Jörns <ejo@pengutronix.de>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f31cf475)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 2b71641b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment