diff options
author | jim-p <jimp@pfsense.org> | 2010-11-30 08:42:23 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-11-30 08:42:23 -0500 |
commit | af0b07d30f02f0ac041ec700327675445465de75 (patch) | |
tree | d3261e784796c92a31a5c8ab0c52445047aef258 /etc | |
parent | fb2e53dae73c237efc9426fe6137ae37cf1add31 (diff) | |
download | pfsense-af0b07d30f02f0ac041ec700327675445465de75.zip pfsense-af0b07d30f02f0ac041ec700327675445465de75.tar.gz |
Make the RRD path if it doesn't yet exist at this point.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 6b34f90..dd4eba5 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -1734,6 +1734,8 @@ function upgrade_054_to_055() { } /* the roundtrip times need to be divided by 1000 to get seconds, really */ $databases = array(); + if (!file_exists($rrddbpath)) + @mkdir($rrddbpath); chdir($rrddbpath); $databases = glob("*-quality.rrd"); rsort($databases); |