diff options
Diffstat (limited to 'src/run/run.c')
-rw-r--r-- | src/run/run.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/run/run.c b/src/run/run.c index df3b47af29..d3d491e87f 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -1059,6 +1059,12 @@ static int start_transient_service( } if (!arg_quiet) { + + /* Explicitly destroy the PTY forwarder, so that the PTY device is usable again, in its + * original settings (i.e. proper line breaks), so that we can show the summary in a pretty + * way. */ + c.forward = pty_forward_free(c.forward); + if (!isempty(c.result)) log_info("Finished with result: %s", strna(c.result)); |