-rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,5 +22,5 @@ struct cgit_filter *new_filter(const char *cmd, int extra_args) struct cgit_filter *f; - if (!cmd) + if (!cmd || !cmd[0]) return NULL; |
index : patchwork/cgit.git | ||
cgit - fast webinterface for git |
summaryrefslogtreecommitdiffabout |
-rw-r--r-- | cgit.c | 2 |
@@ -22,5 +22,5 @@ struct cgit_filter *new_filter(const char *cmd, int extra_args) struct cgit_filter *f; - if (!cmd) + if (!cmd || !cmd[0]) return NULL; |