about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-09 10:47:15 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-09 10:47:15 +0000
commit06cd60e1cfea19da528c59453f9c15edae2de41e (patch)
tree1d25893c5d1df7bebe99a156e69f24b132c474a6 /Src/builtin.c
parentdcf2b11c6827510e9c5f8a8d63d72375147a6653 (diff)
downloadzsh-06cd60e1cfea19da528c59453f9c15edae2de41e.tar.gz
zsh-06cd60e1cfea19da528c59453f9c15edae2de41e.tar.xz
zsh-06cd60e1cfea19da528c59453f9c15edae2de41e.zip
zsh-workers/9634
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index a011e2e58..96c86d291 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -3882,7 +3882,7 @@ bin_trap(char *name, char **argv, char *ops, int func)
     /* Sort out the command to execute on trap */
     arg = *argv++;
     if (!*arg)
-	prog = NULL;
+	prog = &dummy_eprog;
     else if (!(prog = parse_string(arg, 0))) {
 	zwarnnam(name, "couldn't parse trap command", NULL, 0);
 	return 1;