about summary refs log tree commit diff
path: root/Src/Builtins/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Builtins/sched.c')
-rw-r--r--Src/Builtins/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Builtins/sched.c b/Src/Builtins/sched.c
index 3ddde6558..99167e110 100644
--- a/Src/Builtins/sched.c
+++ b/Src/Builtins/sched.c
@@ -118,7 +118,7 @@ checksched(void)
 	scheddeltimed();
 
 	if ((sch->flags & SCHEDFLAG_TRASH_ZLE) && zleactive)
-	    trashzleptr();
+	    zleentry(ZLE_CMD_TRASH);
 	execstring(sch->cmd, 0, 0);
 	zsfree(sch->cmd);
 	zfree(sch, sizeof(struct schedcmd));