diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-22 20:33:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-22 20:33:56 +0100 |
commit | 0bd052ba12f672b46415ed1d5d1d2597a326f85a (patch) | |
tree | 8b558d8d2e3cd3cdedff81c3c12c0263d25a8834 /src/main.c | |
parent | 7735dafb584c77cf1191eceaa0b4db46266c9cb8 (diff) | |
download | vim-git-0bd052ba12f672b46415ed1d5d1d2597a326f85a.tar.gz |
patch 8.0.1628: channel log doesn't mention exitingv8.0.1628
Problem: Channel log doesn't mention exiting.
Solution: Add a ch_log() call in getout().
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 61543b171..0b0fac60b 100644 --- a/src/main.c +++ b/src/main.c @@ -1389,6 +1389,9 @@ getout(int exitval) win_T *wp; exiting = TRUE; +#if defined(FEAT_JOB_CHANNEL) + ch_log(NULL, "Exiting..."); +#endif /* When running in Ex mode an error causes us to exit with a non-zero exit * code. POSIX requires this, although it's not 100% clear from the |