diff --git a/sched/main.C b/sched/main.C index cadab19eea..9f72e6c1a0 100644 --- a/sched/main.C +++ b/sched/main.C @@ -369,11 +369,13 @@ int main(int argc, char** argv) { // unlink(req_path); // unlink(reply_path); #endif +#ifndef _USING_FCGI } else if (batch) { while (!feof(stdin)) { handle_request(stdin, stdout, *ssp, code_sign_key); fflush(stdout); } +#endif } else { handle_request(stdin, stdout, *ssp, code_sign_key); }