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: NAnders Dellien <anders.dellien@arm.com> Reviewed-by: NSean Anderson <sean.anderson@seco.com>
Showing
想要评论请 注册 或 登录