summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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