Skip to content

Commit

Permalink
Update judge_client.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Nov 20, 2016
1 parent 0708815 commit e0ea60d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions trunk/core/judge_client/judge_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2230,10 +2230,8 @@ int main(int argc, char** argv) {
update_problem(p_id);
if (!http_judge)
mysql_close(conn);
if (!DEBUG)
clean_workdir(work_dir);
else
write_log("compile error");
clean_workdir(work_dir);
write_log("compile error");
exit(0);
} else {
update_solution(solution_id, OJ_RI, 0, 0, 0, 0, 0.0);
Expand Down

0 comments on commit e0ea60d

Please sign in to comment.