[Rpm-maint] [rpm-software-management/rpm] Print exit code with rpm -vv (#195)

Jeff Johnson notifications at github.com
Sat Apr 8 17:35:12 UTC 2017


This trivial patch helps diagnose rpm behavior while developing or testing.

`
diff --git a/rpmqv.c b/rpmqv.c
index 8655776..4f448c2 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -354,5 +354,7 @@ int main(int argc, char *argv[])
 
     rpmcliFini(optCon);
 
+    rpmlog(RPMLOG_DEBUG, "exit code: %d\n", ec);
+
     return RETVAL(ec);
 }
`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/195
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170408/9c627099/attachment-0001.html>


More information about the Rpm-maint mailing list