summaryrefslogtreecommitdiffstats
path: root/src/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.c')
-rw-r--r--src/run.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/run.c b/src/run.c
index 568c97e..9a5fa43 100644
--- a/src/run.c
+++ b/src/run.c
@@ -357,8 +357,9 @@ static void run_cleanup(struct lt_config_app *cfg,
{
if (lt_sh(cfg, pipe))
close(pa->fd_notify);
+
if (cfg->output_tty)
- close(pa->fd_tty_master);
+ tty_close(cfg);
remove_dir(cfg, pa->dir);
}