execute: reorder "destructive" tty reset operations
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Jul 2024 14:28:08 +0000 (16:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 19 Jul 2024 09:44:04 +0000 (11:44 +0200)
commit27c067ceeb6a6cfdaf40d4d65a82087d21154b26
tree0bb573707eedb991a011bdbedbe0ec45a5a9acc6
parent85f3957072071f0135f335d1631d2e2fc26e2659
execute: reorder "destructive" tty reset operations

Let's make sure to first issue the non-destructive operations, then
issue the hangup (for which we need the fd), then try to disallocate the
device (for which we don't need it anymore).
src/core/execute.c