]> git.ipfire.org Git - thirdparty/systemd.git/commit
ptyfwd: simplify error handling in shovel()
authorLennart Poettering <lennart@poettering.net>
Tue, 6 Feb 2024 10:30:02 +0000 (11:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 9 Feb 2024 17:27:01 +0000 (18:27 +0100)
commit8f1fe0410dc28c5edfb228741201cd52d38d8754
tree55e14b7d7fe6214d6e2c8aa2282448ee0ee47995
parent8496b938ab28e039a37fad820d788eef82517d9c
ptyfwd: simplify error handling in shovel()

We treat all errors the same, hence let's just have a common handling
for that, and normalize how we propagate errors from shovel().

No change in behaviour, just some refactoring.
src/shared/ptyfwd.c