1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-01 07:31:20 +02:00

zsh-workers/9634

This commit is contained in:
Tanaka Akira 2000-02-09 10:47:15 +00:00
parent dcf2b11c68
commit 06cd60e1cf

View file

@ -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;