diff options
Diffstat (limited to 'src/run.c')
| -rw-r--r-- | src/run.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -340,7 +340,7 @@ static int run_setup(struct lt_config_app *cfg, /* new thread notification descriptor */ if (lt_sh(cfg, pipe) && - (-1 == (pa->fd_notify = lt_fifo_notify_fd(cfg, pa->dir)))) + (-1 == (pa->fd_notify = lt_fifo_notify_init(cfg, pa->dir)))) return -1; /* tty master descriptor */ @@ -355,7 +355,7 @@ static void run_cleanup(struct lt_config_app *cfg, struct lt_process_args *pa) { if (lt_sh(cfg, pipe)) - close(pa->fd_notify); + lt_fifo_notify_cleanup(cfg); if (cfg->output_tty) tty_close(cfg); |
