mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-23 01:31:27 +01:00
34466: Fix double unmeta in rm verification
This commit is contained in:
parent
7d15b9a9cb
commit
dfbb5e4853
2 changed files with 5 additions and 1 deletions
|
|
@ -2460,7 +2460,7 @@ checkrmall(char *s)
|
|||
return 1;
|
||||
fprintf(shout, "zsh: sure you want to delete all the files in ");
|
||||
if (*s != '/') {
|
||||
nicezputs(pwd[1] ? unmeta(pwd) : "", shout);
|
||||
nicezputs(pwd[1] ? pwd : "", shout);
|
||||
fputc('/', shout);
|
||||
}
|
||||
nicezputs(s, shout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue