diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ int main(int argc, char *argv[]) if (optind < argc && argv[optind][0] != '-') { max_redirect = atoi(argv[optind++]); - if (max_redirect <= 0) { + if (max_redirect < 0) { syslog(LOG_ERR, "Invalid number for redirections"); return EXIT_FAILURE; } |