run: explicitly close pty forwarder before printing summary
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Dec 2016 23:34:34 +0000 (00:34 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 3 Feb 2017 10:51:57 +0000 (11:51 +0100)
commit9182fb52acc5993a86b83c2fe4216a542cecf226
tree8fbb1fc82d377d71f040145158b1be558b3d5030
parent578c03bce0816b21f00e4ef9734e5c1c1a63dcc6
run: explicitly close pty forwarder before printing summary

If the PTY forwarder is still around our TTY will have borked settings,
regarding newlines, hence explicitly close it before showing the
summary, so that it looks pretty.
src/run/run.c