imv-os: check_packages() fails if product query fails
This commit is contained in:
@@ -67,6 +67,7 @@ METHOD(imv_os_database_t, check_packages, status_t,
|
|||||||
DB_TEXT, product, DB_INT);
|
DB_TEXT, product, DB_INT);
|
||||||
if (!e)
|
if (!e)
|
||||||
{
|
{
|
||||||
|
return FAILED;
|
||||||
}
|
}
|
||||||
if (!e->enumerate(e, &pid))
|
if (!e->enumerate(e, &pid))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user