mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
5a9cc6bcfe
other resource utilization data. PR: ports/69504 Submitted by: Michael Ranner <mranner@inode.at>
16 lines
316 B
Plaintext
16 lines
316 B
Plaintext
--- src/nrg-rrdkeeper.in.orig Fri Mar 5 18:04:41 2004
|
|
+++ src/nrg-rrdkeeper.in Fri Mar 5 18:05:19 2004
|
|
@@ -631,6 +631,12 @@
|
|
|
|
}
|
|
|
|
+ $dir = $path;
|
|
+ $dir =~ s/[^\/]+.rrd//;
|
|
+ if (! -d $dir) {
|
|
+ system("mkdir -p $dir");
|
|
+ }
|
|
+
|
|
#print "RRDs::create @create_options \n";
|
|
RRDs::create @create_options;
|
|
|