]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/dbus-execute.c
core: fix handling of transient StandardOutputFileDescriptorName= and friends
authorLennart Poettering <lennart@poettering.net>
Fri, 27 Oct 2017 14:08:11 +0000 (16:08 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 17 Nov 2017 10:13:44 +0000 (11:13 +0100)
commit0664775c846f4ff1b53ee6e93d5a1aef68912dad
tree024d19b3aa797f34c0059e71babf856a9a991feb
parente75a9ed17684f4f285b3774f83c89d9bf31cbb26
core: fix handling of transient StandardOutputFileDescriptorName= and friends

Let's make sure to process the fdname first, before changing the actual
input/output setting, since the fdname part can fail due to OOM.

This way we don't leave half-initialized bits around.
src/core/dbus-execute.c