summaryrefslogtreecommitdiffstats
path: root/rpminfo.c
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-11 16:29:52 +0100
committerRemi Collet <remi@remirepo.net>2020-03-11 16:29:52 +0100
commit9d455172490b3c768eda092e0898b666e17a23d2 (patch)
treea55f9125d009b5be6925b310ccb3663e6e5d7a22 /rpminfo.c
parentdb270c6c4667957045127ad04af206ce48e9a5c8 (diff)
add simple test for glob/regex search
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;
}