Skip to content

Commit 3c22760

Browse files
author
Michael Vasseur
committed
Disabling the debug_script is quite hard
For languages/problem executables we have something else what we can disable but this doesn't work for `default_debug_scripts`. We can either store this as a fact with the executable or remove this as the default option in the config.
1 parent c25f252 commit 3c22760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

judge/judgedaemon.main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ function fetch_executable_internal(
909909
[$runpath, $workdir, $tmpfile]));
910910
system($debug_cmd, $retval);
911911
if ($retval !== 0) {
912-
disable('judgehost', 'hostname', $myhost, "Running '$runpath' failed.");
912+
disable('run_script', 'run_script_id', $judgeTask['run_script_id'], "Running '$runpath' failed.");
913913
}
914914

915915
request(

0 commit comments

Comments
 (0)