diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 72af24170b..476d869578 100644 --- a/src/main.c +++ b/src/main.c @@ -1557,7 +1557,7 @@ getout_preserve_modified(int exitval) // Ignore SIGHUP, because a dropped connection causes a read error, which // makes Vim exit and then handling SIGHUP causes various reentrance // problems. - signal(SIGHUP, SIG_IGN); + mch_signal(SIGHUP, SIG_IGN); # endif ml_close_notmod(); // close all not-modified buffers |