diff options
Diffstat (limited to 'net-mgmt/nrg/files/patch-nrg-rrdkeeper')
-rw-r--r-- | net-mgmt/nrg/files/patch-nrg-rrdkeeper | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-mgmt/nrg/files/patch-nrg-rrdkeeper b/net-mgmt/nrg/files/patch-nrg-rrdkeeper new file mode 100644 index 000000000000..4a0cdff9dfc7 --- /dev/null +++ b/net-mgmt/nrg/files/patch-nrg-rrdkeeper @@ -0,0 +1,15 @@ +--- 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; + |