summaryrefslogtreecommitdiffstats
path: root/rpminfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpminfo.c')
-rw-r--r--rpminfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpminfo.c b/rpminfo.c
index fdf9d93..f20d605 100644
--- a/rpminfo.c
+++ b/rpminfo.c
@@ -275,7 +275,7 @@ PHP_FUNCTION(rpmdbinfo)
di = rpmdbInitIterator(db, RPMTAG_NAME, name, len);
}
if (!di) {
- php_error_docref(NULL, E_WARNING, "Can't open rpmdb");
+ // Not found
rpmtsCloseDB(ts);
RETURN_FALSE;
}