[Rpm-maint] [rpm-software-management/rpm] rpm without TTY gives wrong error message (#355)
notifications at github.com
Sun Nov 12 14:33:51 UTC 2017
I assumed you wished rpm --erase to function.
The important part of the error message is correct even if errno is incorrect when stdin is redirected.
FWIW, I can't think of any rpm mode that actually reads from stdin (passwords are read using getpass(3)).
Meanwhile errno is (likely) being reset by isatty(3) trying to detect whether to colorize output.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint