diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-04-21 12:47:36 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-25 12:14:17 +0200 |
commit | 6402d5c628f1872a4874508bbe975aaac1cc747b (patch) | |
tree | cc3c0d7cc74ce1b2a05c532541f756dcf9174e7a /src/nspawn | |
parent | 4f4d6ee4be1c5d3bb2f3ebce7d2d332285963830 (diff) |
util: copy_file_range() returns EBADF when used on a tty
In nspawn we invoke copy_bytes() on a TTY fd. copy_file_range() returns EBADF
on a TTY and this error is considered fatal by copy_bytes() so far. Correct
that, so that nspawn's copy_bytes() operation works again.
This is a follow-up for a44202e98b638024c45e50ad404c7069c7835c04.
Diffstat (limited to 'src/nspawn')
0 files changed, 0 insertions, 0 deletions