diff options
| -rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -21,7 +21,7 @@ struct cgit_filter *new_filter(const char *cmd, int extra_args) | |||
| 21 | { | 21 | { |
| 22 | struct cgit_filter *f; | 22 | struct cgit_filter *f; |
| 23 | 23 | ||
| 24 | if (!cmd) | 24 | if (!cmd || !cmd[0]) |
| 25 | return NULL; | 25 | return NULL; |
| 26 | 26 | ||
| 27 | f = xmalloc(sizeof(struct cgit_filter)); | 27 | f = xmalloc(sizeof(struct cgit_filter)); |
