summaryrefslogtreecommitdiffstats
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 73caa1a3e4..b58138bf07 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4683,8 +4683,10 @@ mch_call_shell_fork(
# ifdef FEAT_JOB_CHANNEL
if (ch_log_active())
- // close the log file in the child
+ {
+ ch_log(NULL, "closing channel log in the child process");
ch_logfile((char_u *)"", (char_u *)"");
+ }
# endif
if (!show_shell_mess || (options & SHELL_EXPAND))