about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-11-09 11:04:10 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-11-09 11:04:10 +0000
commit7929d97254f84932ab79baf613f3f300ca0a5f84 (patch)
tree1f44eab4f8f8ce8792d3bee7a716878abd6948bb /Src/builtin.c
parent434d55da8b2b52da5c22f918cb182839b4b7222d (diff)
downloadzsh-7929d97254f84932ab79baf613f3f300ca0a5f84.tar.gz
zsh-7929d97254f84932ab79baf613f3f300ca0a5f84.tar.xz
zsh-7929d97254f84932ab79baf613f3f300ca0a5f84.zip
22984: add zshexit hook
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();