diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2002-06-05 21:12:08 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2002-06-05 21:12:08 +0000 |
commit | 9c8b79b993057c8a146016e734eeb72571ea413d (patch) | |
tree | 43ff8c6d6aa0c936eab140eb2c3b4898beb63d24 /Src/Zle | |
parent | b2226ac72f5f4c5202f44ff3c35bbf4a864e1ab9 (diff) | |
download | zsh-9c8b79b993057c8a146016e734eeb72571ea413d.tar.gz zsh-9c8b79b993057c8a146016e734eeb72571ea413d.tar.xz zsh-9c8b79b993057c8a146016e734eeb72571ea413d.zip |
17295: `zle -F' failed because of bad test
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_thingy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c index 7cf558f97..2aef7ecd4 100644 --- a/Src/Zle/zle_thingy.c +++ b/Src/Zle/zle_thingy.c @@ -697,7 +697,7 @@ bin_zle_fd(char *name, char **args, char *ops, char func) if (ops['L'] || !*args) { /* Listing handlers. */ - if (args[1]) { + if (*args && args[1]) { zwarnnam(name, "too many arguments for -FL", NULL, 0); return 1; } |