diff options
Diffstat (limited to 'Src')
-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; } |