summaryrefslogtreecommitdiff
path: root/Src/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index ff40c8b70..70de5bcec 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -4436,6 +4436,7 @@ zexit(int val, int from_where)
}
if (sigtrapped[SIGEXIT])
dotrap(SIGEXIT);
+ callhookfunc("zshexit", NULL, 1);
runhookdef(EXITHOOK, NULL);
if (opts[MONITOR] && interact && (SHTTY != -1)) {
release_pgrp();