[Rpm-maint] [rpm] Add lua function posix.close (#44)
Zbigniew Jędrzejewski-Szmek
notifications at github.com
Fri Mar 4 22:00:17 UTC 2016
Force-pushed with a new version. New function is called `posix.redirect2null` and takes fd number as argument:
```
posix.redirect2null(1) # close stdout
posix.redirect2null(2) # close stderr
```
I run a few package installs/uninstalls with different scriptlets using this, and all seems to work as expected.
---
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/44#issuecomment-192487965
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160304/7f1e5c62/attachment-0001.html>
More information about the Rpm-maint
mailing list