aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/openospfd/openospfd.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/openospfd/openospfd.inc b/config/openospfd/openospfd.inc
index a41af0ec..3e3c42cb 100644
--- a/config/openospfd/openospfd.inc
+++ b/config/openospfd/openospfd.inc
@@ -176,7 +176,9 @@ function ospfd_install_conf() {
exec("chmod u+rw /usr/local/etc/ospfd.conf");
// ospfd process running? if so reload, elsewise start.
- exec("/usr/local/sbin/ospfctl reload", $rval);
+ $oarray = array();
+ $rval = 0;
+ exec("/usr/local/sbin/ospfctl reload", , $oarray, $rval);
if ($rval != 0) {
/*
* ospfd isnt actually running as nothing accepted a connection