core: be more careful when inheriting stdout fds to stderr
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Nov 2018 20:07:48 +0000 (21:07 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 27 Nov 2018 09:06:51 +0000 (10:06 +0100)
commit41fc585a7a3b8ae857cad5fdad1bc70cdacfa8e5
treecd3aafd2a9c3eaea90f416823aaee8188d065d3b
parent8d33232ef1ad051b5ed00bd7b5fffb5a19bb83ae
core: be more careful when inheriting stdout fds to stderr

We need to compare the fd name/file name if we inherit an fd from stdout
to stderr. Let's do that.

Fixes: #10875
src/core/execute.c