summaryrefslogtreecommitdiff
path: root/lib/rpmgi.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-10-06 18:49:33 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-10-06 18:49:33 +0300
commitbcda17901e38adacad42226164057f4b357ce9a6 (patch)
tree226b491db6054a296c63b5138975f7daa3b15805 /lib/rpmgi.c
parent9c51c44577ddee0c4d822d12b79b29f5a9bcdb21 (diff)
downloadrpm-bcda17901e38adacad42226164057f4b357ce9a6.tar.gz
rpm-bcda17901e38adacad42226164057f4b357ce9a6.tar.bz2
rpm-bcda17901e38adacad42226164057f4b357ce9a6.zip
Make "not an rpm or manifest" message an error, not just notice
Diffstat (limited to 'lib/rpmgi.c')
-rw-r--r--lib/rpmgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmgi.c b/lib/rpmgi.c
index 1b921c1ac..ababaed23 100644
--- a/lib/rpmgi.c
+++ b/lib/rpmgi.c
@@ -188,7 +188,7 @@ static rpmRC rpmgiLoadReadHeader(rpmgi gi)
rpmrc = rpmgiLoadManifest(gi, fn);
if (rpmrc != RPMRC_OK) {
gi->argv[gi->i] = fn; /* Manifest failed, restore fn */
- rpmlog(RPMLOG_NOTICE,
+ rpmlog(RPMLOG_ERR,
_("%s: not an rpm package (or package manifest)\n"), fn);
break;
}