summaryrefslogtreecommitdiffstats
path: root/sysif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysif.c')
-rw-r--r--sysif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysif.c b/sysif.c
index 5c9f583b..c3d86fb5 100644
--- a/sysif.c
+++ b/sysif.c
@@ -149,7 +149,7 @@ val at_exit_call(val func)
val at_exit_do_not_call(val func)
{
val old = at_exit_list;
- at_exit_list = remq(func, old);
+ at_exit_list = remq(func, old, nil);
return tnil(old == at_exit_list);
}