summaryrefslogtreecommitdiffstats
path: root/usr/local/www/reboot.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-18 03:33:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-18 03:33:51 +0000
commitf7783601976f236ccc3c78c06a164bfdf918e6a0 (patch)
tree2021aac912f5eda8fbca3d53c79ce5358f0a125d /usr/local/www/reboot.php
parentfb4d93acb32e36ca96e86608ab6d482e11e49ffc (diff)
downloadpfsense-f7783601976f236ccc3c78c06a164bfdf918e6a0.zip
pfsense-f7783601976f236ccc3c78c06a164bfdf918e6a0.tar.gz
If user selects no, do not redirect. Simply exit.
Diffstat (limited to 'usr/local/www/reboot.php')
-rwxr-xr-xusr/local/www/reboot.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/local/www/reboot.php b/usr/local/www/reboot.php
index 8aba122..56a12bd 100755
--- a/usr/local/www/reboot.php
+++ b/usr/local/www/reboot.php
@@ -65,7 +65,6 @@ if ($_POST) {
system_reboot();
$rebootmsg = "The system is rebooting now. This may take one minute.";
} else {
- header("Location: index.php");
exit;
}
}
OpenPOWER on IntegriCloud