[Rpm-maint] [rpm-software-management/rpm] Print exit code with rpm -vv (from @n3npq, #195) (#252)

Jun Aruga notifications at github.com
Mon Jul 17 17:05:04 UTC 2017


junaruga commented on this pull request.



> @@ -354,5 +354,7 @@ int main(int argc, char *argv[])
 
     rpmcliFini(optCon);
 
+    rpmlog(RPMLOG_DEBUG, "exit code: %d\n", ec);

"Exit status" is better isn't it?

```
$ man ls
...
   Exit status:
       0      if OK,
       1      if minor problems (e.g., cannot access subdirectory),
       2      if serious trouble (e.g., cannot access command-line argument).
```


-- 
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/pull/252#pullrequestreview-50380621
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170717/a3bc2f92/attachment.html>


More information about the Rpm-maint mailing list