diff options
author | Bart Schaefer <schaefer@zsh.org> | 2023-07-09 19:28:28 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2023-07-09 19:28:28 -0700 |
commit | 5ead24c8819efb3cd0d24a6ff4f178e1a5defee9 (patch) | |
tree | 80ead5376af5ac9567c7665eb8fbcabfcf4f0890 /Src | |
parent | a84fdd7c8f77935ecce99ff2b0bdba738821ed79 (diff) | |
download | zsh-5ead24c8819efb3cd0d24a6ff4f178e1a5defee9.tar.gz zsh-5ead24c8819efb3cd0d24a6ff4f178e1a5defee9.tar.xz zsh-5ead24c8819efb3cd0d24a6ff4f178e1a5defee9.zip |
51890: fix "whence -wa" for multiple arguments
Diffstat (limited to 'Src')
-rw-r--r-- | Src/builtin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index e4f356803..669a47092 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -4046,6 +4046,7 @@ bin_whence(char *nam, char **argv, Options ops, int func) /* Take arguments literally -- do not glob */ queue_signals(); for (; *argv; argv++) { + informed = 0; if (!OPT_ISSET(ops,'p') && !allmatched) { char *suf; |