diff --git a/src/ckpool.c b/src/ckpool.c index faf9fd7d..2c2f39f5 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -1757,6 +1757,8 @@ int main(int argc, char **argv) ckp.serverurl = ckzalloc(sizeof(char *)); if (ckp.proxy && !ckp.proxies) quit(0, "No proxy entries found in config file %s", ckp.config); + if (ckp.redirector && !ckp.redirecturls) + quit(0, "No redirect entries found in config file %s", ckp.config); /* Create the log directory */ trail_slash(&ckp.logdir);