diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-07-24 11:04:34 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-07-24 16:17:22 +0200 |
commit | e5455e9413839466ef6f2e0f8e93ae10e3bae2f3 (patch) | |
tree | 87596fca54a61c65fc1b0286357ef94a3a76b55e /src | |
parent | cfca183d557ed302fd6eeb862e90f4b56800b417 (diff) | |
download | strongswan-e5455e9413839466ef6f2e0f8e93ae10e3bae2f3.tar.bz2 strongswan-e5455e9413839466ef6f2e0f8e93ae10e3bae2f3.tar.xz |
imv-os: check_packages() fails if product query fails
Diffstat (limited to 'src')
-rw-r--r-- | src/libimcv/plugins/imv_os/imv_os_database.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libimcv/plugins/imv_os/imv_os_database.c b/src/libimcv/plugins/imv_os/imv_os_database.c index 3cdbebfbb..d2a08b0fa 100644 --- a/src/libimcv/plugins/imv_os/imv_os_database.c +++ b/src/libimcv/plugins/imv_os/imv_os_database.c @@ -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)) { |