]> git.ipfire.org Git - thirdparty/systemd.git/commit
ptyfwd: do not call pty_forward_done() in do_shovel()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 28 Jul 2025 19:44:41 +0000 (04:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 29 Jul 2025 16:10:24 +0000 (01:10 +0900)
commit5ce1c39f2dc990fe6ecef3e5ef52b59d49227bca
tree5b4ae6f9ed57f3f20470559dd80a4d55449c103d
parentbbc10f31ae47f00530bfd6c635ffd652e6cb9c12
ptyfwd: do not call pty_forward_done() in do_shovel()

Previously, do_shovel() sometimes call pty_forward_done(), and
its caller shovel() also call pty_forward_done(). Let's move all
pty_forward_done() calls to shovel(), and do_shovel() not call it.

No functional change, just refactoring.
src/shared/ptyfwd.c