mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
zsh-workers/9614
This commit is contained in:
parent
6faf9c07a8
commit
c2f578d7e5
1 changed files with 3 additions and 3 deletions
|
@ -1505,7 +1505,7 @@ setunderscore(char *str)
|
|||
}
|
||||
}
|
||||
|
||||
static int esprefork, esglob;
|
||||
static int esprefork, esglob = 1;
|
||||
|
||||
/**/
|
||||
void
|
||||
|
@ -1916,10 +1916,10 @@ execcmd(Estate state, int input, int output, int how, int last1)
|
|||
is_exec = 1;
|
||||
}
|
||||
|
||||
if (args && (esglob = !(cflags & BINF_NOGLOB))) {
|
||||
if ((esglob = !(cflags & BINF_NOGLOB)) && args) {
|
||||
LinkList oargs = args;
|
||||
globlist(args);
|
||||
args=oargs;
|
||||
args = oargs;
|
||||
}
|
||||
if (errflag) {
|
||||
lastval = 1;
|
||||
|
|
Loading…
Reference in a new issue