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