1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/net-mgmt/nrg/files/patch-nrg-rrdkeeper
Sergey Matveychuk 5a9cc6bcfe NRG is a system for maintaining and visualizing network data and
other resource utilization data.

PR:		ports/69504
Submitted by:	Michael Ranner <mranner@inode.at>
2004-08-02 08:33:10 +00:00

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;