diff --git a/html/user/get_output.php b/html/user/get_output.php
index b3ef6bef63..9aaf93e07c 100644
--- a/html/user/get_output.php
+++ b/html/user/get_output.php
@@ -25,7 +25,7 @@ require_once("../inc/result.inc");
require_once("../inc/submit_util.inc");
function return_error($str) {
- return_error("ERROR: $str");
+ die("ERROR: $str");
}
// get a single output file