diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-09 10:47:15 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-09 10:47:15 +0000 |
commit | 06cd60e1cfea19da528c59453f9c15edae2de41e (patch) | |
tree | 1d25893c5d1df7bebe99a156e69f24b132c474a6 /Src/builtin.c | |
parent | dcf2b11c6827510e9c5f8a8d63d72375147a6653 (diff) | |
download | zsh-06cd60e1cfea19da528c59453f9c15edae2de41e.tar.gz zsh-06cd60e1cfea19da528c59453f9c15edae2de41e.tar.xz zsh-06cd60e1cfea19da528c59453f9c15edae2de41e.zip |
zsh-workers/9634
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 2 |
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; |