summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-08 23:17:36 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-08 23:17:36 +0000
commitbd96ff6562e7895b0e7b363853c740d6540df9cf (patch)
tree381d7a081a0b4f96e273a2ba5ab045b7b9b7a79f /etc/inc/system.inc
parent98d269af641d7ccfbfa4845dd027df4fe10a5f61 (diff)
downloadpfsense-bd96ff6562e7895b0e7b363853c740d6540df9cf.zip
pfsense-bd96ff6562e7895b0e7b363853c740d6540df9cf.tar.gz
Actually put it to background.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 82f851e..4f194be 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -693,7 +693,7 @@ function system_webgui_start() {
$proto = "http";
if ($config['system']['webgui']['protocol'])
$proto = $config['system']['webgui']['protocol'];
- mwexec("/usr/bin/fetch -o /dev/null -q {$proto}://localhost:{$portarg}/preload.php &");
+ mwexec_bg("/usr/bin/fetch -o /dev/null -q {$proto}://localhost:{$portarg}/preload.php");
if ($g['booting']) {
if ($res == 0)
OpenPOWER on IntegriCloud