From 00a19a88c4be8fa6e21b146f1caa0ebaf08a12ec Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 11 Apr 2006 21:46:10 +0000 Subject: [PATCH] Check that file exists, not ! --- etc/inc/pfsense-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 378389f015..f7aa8b54cb 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -2018,7 +2018,7 @@ function enable_rrd_graphing() } $a_queues = &$config['shaper']['queue']; - if((! file_exists("$rrddbpath$ifname$queues")) && (isset($config['shaper']['enable']))) { + if((file_exists("$rrddbpath$ifname$queues")) && (isset($config['shaper']['enable']))) { /* create rrd file if it does not exist */ $rrdcreate = "$rrdtool create $rrddbpath$ifname$queues --step $rrdqueuesinterval \\\n"; /* loop list of shaper queues */