summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-10-07 08:18:39 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-10-07 08:18:39 -0400
commitea1bbc43042235f4d763421702408072499e8d87 (patch)
tree5d1c1adbea1f8c808b2a6b5e57607e74786ca48f
parent06972ee55b6fd3da0a54de9b41424ab3184567be (diff)
downloadpfsense-ea1bbc43042235f4d763421702408072499e8d87.zip
pfsense-ea1bbc43042235f4d763421702408072499e8d87.tar.gz
Fixed #5276
-rwxr-xr-xsrc/usr/local/www/halt.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/local/www/halt.php b/src/usr/local/www/halt.php
index 6da61b8..ca134c5 100755
--- a/src/usr/local/www/halt.php
+++ b/src/usr/local/www/halt.php
@@ -89,10 +89,14 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
</div>
<?php
- if (DEBUG)
+ if (DEBUG) {
print("Not actually halting (DEBUG is set true)<br>");
- else
+ }
+ else {
+ print('<pre>');
system_halt();
+ print('</pre>');
+ }
} else {
?>
OpenPOWER on IntegriCloud