Skip to content
Commit 114c4a11 authored by Anders Dellien's avatar Anders Dellien Committed by Tom Rini
Browse files

cmd: part: Correct error handling



As 'part_get_info_by_name' now returns more status codes than just
-1 to indicate failure, we need to update the return value check.

Signed-off-by: default avatarAnders Dellien <anders.dellien@arm.com>
Reviewed-by: default avatarSean Anderson <sean.anderson@seco.com>
parent 4227199a
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