diff options
| author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-07-03 13:38:58 +0000 |
|---|---|---|
| committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-07-05 11:11:59 +0000 |
| commit | cf134c15a09c9be7fac7628372a8f897ec84f9fa (patch) | |
| tree | 53e43a574e37f0eb4d0da2d69c7db4fccee41acd /Src/exec.c | |
| parent | 46175/0002: Add a regression test for 46169: the RM_STAR_SILENT logic process... (diff) | |
| download | zsh-cf134c15a09c9be7fac7628372a8f897ec84f9fa.tar zsh-cf134c15a09c9be7fac7628372a8f897ec84f9fa.tar.gz zsh-cf134c15a09c9be7fac7628372a8f897ec84f9fa.tar.bz2 zsh-cf134c15a09c9be7fac7628372a8f897ec84f9fa.tar.lz zsh-cf134c15a09c9be7fac7628372a8f897ec84f9fa.tar.xz zsh-cf134c15a09c9be7fac7628372a8f897ec84f9fa.tar.zst zsh-cf134c15a09c9be7fac7628372a8f897ec84f9fa.zip | |
46175/0003: Fix the RM_STAR_SILENT bug from the parent commit.
Diffstat (limited to 'Src/exec.c')
| -rw-r--r-- | Src/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c index 045b5d2b9..7120a2c34 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -3401,7 +3401,7 @@ execcmd_exec(Estate state, Execcmd_params eparams, int rmall; s[l - 2] = 0; - rmall = checkrmall(s); + rmall = checkrmall(l == 2 ? "/" : s); s[l - 2] = t; if (!rmall) { |
