summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDarren Embry <dse@webonastick.com>2012-05-17 15:13:46 -0400
committerDarren Embry <dse@webonastick.com>2012-05-17 15:13:46 -0400
commit7a865f0344009b3b5b675d7e8ea7e277a1550a0f (patch)
tree520ee00d8994fdd47f256f7ab8d3a5de044f97b6 /etc
parent7eead1fc1e98e83dc923ae6e69ac81366c7948f2 (diff)
downloadpfsense-7a865f0344009b3b5b675d7e8ea7e277a1550a0f.zip
pfsense-7a865f0344009b3b5b675d7e8ea7e277a1550a0f.tar.gz
add -f to 'rrdtool restore' call
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/rrd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc
index ef79a37..b2d4e94 100644
--- a/etc/inc/rrd.inc
+++ b/etc/inc/rrd.inc
@@ -69,7 +69,7 @@ function restore_rrd() {
if (file_exists("{$rrd_file}")) {
unlink($rrd_file);
}
- exec("$rrdtool restore '{$xml_file}' '{$rrd_file}'");
+ exec("$rrdtool restore -f '{$xml_file}' '{$rrd_file}'");
unlink($xml_file);
}
return true;
OpenPOWER on IntegriCloud