about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-07-31 08:44:16 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-07-31 08:44:16 +0000
commit0c9830d23c87ad2a572d2c6d16b13a34001b9634 (patch)
tree36db7fd2692c6558a0199b07b1f265808620337d /Src/exec.c
parent8a466992dad9dd4ce4ef3c7f5845f5f340866d2c (diff)
downloadzsh-0c9830d23c87ad2a572d2c6d16b13a34001b9634.tar.gz
zsh-0c9830d23c87ad2a572d2c6d16b13a34001b9634.tar.xz
zsh-0c9830d23c87ad2a572d2c6d16b13a34001b9634.zip
25345, 25347: neaten interface from main shell to zle
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 437a45c37..8edbf1dc9 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -1376,7 +1376,7 @@ execpline(Estate state, wordcode slcode, int how, int last1)
 		    pipe(synch);
 
 		    if ((pid = zfork(&bgtime)) == -1) {
-			trashzleptr();
+			zleentry(ZLE_CMD_TRASH);
 			close(synch[0]);
 			close(synch[1]);
 			fprintf(stderr, "zsh: job can't be suspended\n");