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:
parent
dcf2b11c68
commit
06cd60e1cf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue