summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index a03c405e5b..4ef5e14e2b 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -2208,7 +2208,7 @@ prepare_to_exit(void)
// 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
#ifdef FEAT_GUI