forked from aniani/vim
patch 8.2.1545: ch_logfile() is unclear about closing when forking
Problem: ch_logfile() is unclear about closing when forking. Solution: Adjust the log messages.
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user