Skip to content

Commit 028d9d5

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 9c61fcb commit 028d9d5

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
@@ -854,7 +854,7 @@ function fetch_executable_internal(
854854
[$runpath, $workdir, $tmpfile]));
855855
system($debug_cmd, $retval);
856856
if ($retval !== 0) {
857-
disable('judgehost', 'hostname', $myhost, "Running '$runpath' failed.");
857+
disable('run_script', 'run_script_id', $judgeTask['run_script_id'], "Running '$runpath' failed.");
858858
}
859859

860860
request(

0 commit comments

Comments
 (0)