summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-07 12:47:59 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-07 12:47:59 +0000
commit1329da9857405352814e1be6f9c0850dff855a0f (patch)
tree2c38b8548ae2ddd9cb2ae7350b14ca765d4d1c55 /etc/inc
parent963a33c37c8d6f0ed057697e23cd47c74133c9f7 (diff)
downloadpfsense-1329da9857405352814e1be6f9c0850dff855a0f.zip
pfsense-1329da9857405352814e1be6f9c0850dff855a0f.tar.gz
Send output to mwexec
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 2fe055d..3f22315 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -3011,7 +3011,7 @@ function enable_rrd_graphing() {
if ($config['interfaces'][$ifname]['use_rrd_gateway'] <> "") {
$gatewayip = get_interface_gateway($ifname);
$monitorip = $config['interfaces'][$ifname]['use_rrd_gateway'];
- mwexec("/sbin/route add -host {$monitorip} {$gatewayip} 1> /dev/null 2>&1");
+ mwexec("/sbin/route add -host {$monitorip} {$gatewayip} 2>&1");
} else {
$monitorip = get_interface_gateway($ifname);
}
OpenPOWER on IntegriCloud