]> git.ipfire.org Git - pakfire.git/commit
pty: Re-open standard input/output
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Oct 2024 14:58:27 +0000 (14:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Oct 2024 14:58:27 +0000 (14:58 +0000)
commit759ad7fbbd1c2db8860eaf65f6ab5ac602466d53
tree978ac404cd91d40a6088c79c58d60b60a061119e
parenteca824fbaeb56abd5098c9eff7878566055b6bfe
pty: Re-open standard input/output

This is helpful so that we don't have to worry about resetting the
original file descriptors in case we crash unintentionally.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/pty.c