Skip to content
Commit 04534119 authored by schspa's avatar schspa Committed by Tom Rini
Browse files

avb: Fix error when partition not found



part_get_info_by_name will return -1 on error, and >0 on success.

Signed-off-by: default avatarschspa <schspa@gmail.com>
Cc: Igor Opaniuk <igor.opaniuk@gmail.com>
Reviewed-by: default avatarIgor Opaniuk <igor.opaniuk@gmail.com>
parent 29cbc4ba
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