aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/unbound/unbound_status.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/unbound/unbound_status.php b/config/unbound/unbound_status.php
index 706e534d..dccdf3b6 100644
--- a/config/unbound/unbound_status.php
+++ b/config/unbound/unbound_status.php
@@ -31,6 +31,11 @@
require("guiconfig.inc");
+if(!is_process_running("unbound")) {
+ Header("Location: /pkg_edit.php?xml=unbound.xml&id=0");
+ exit;
+}
+
$pgtitle = "Unbound: Status";
include("head.inc");