[Rpm-maint] [rpm-software-management/rpm] rpm without TTY gives wrong error message (#355)

Alan Jenkins notifications at github.com
Sun Nov 12 15:35:47 UTC 2017

Yeah, I just found it too.  In principle the closest errno would be EBADF though, which is not much more user-friendly :(.  So I'm not sure what the best response to this is.

>        EBADF  cmd  is  F_SETLK  or  F_SETLKW and the file descriptor open mode
>              doesn't match with the type of lock requested.

(same as `write()` on an fd which was not opened for writing).

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...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171112/feb1104f/attachment.html>

More information about the Rpm-maint mailing list