summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index b7a513f2a..983513306 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -69,7 +69,7 @@ if (Param("shutdownhtml") && $0 !~ m:[\\/](do)?editparams.cgi$:) {
# Generate and return an HTML message about the downtime.
$::template->process("global/message.html.tmpl", $::vars)
- || DisplayError("Template process failed: " . $::template->error());
+ || ThrowTemplateError($::template->error());
exit;
}