]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/misc-progs/openvpnctrl.c
vpn-statistic: fix removal of rw rrd-data
[ipfire-2.x.git] / src / misc-progs / openvpnctrl.c
index bba84ca7cf8972bf0a457b793738d7e1a9f31145..20967e471c4085bcb30cf375882c9ed71d8aff44 100644 (file)
@@ -605,7 +605,7 @@ int deleterrd(char *name) {
 
                // Handle RW connections
                if (strcmp(conn->type, "host") == 0) {
-                       snprintf(rrd_dir, STRING_SIZE - 1, "/var/log/rrd/collectd/localhost/openvpn-%s", name);
+                       snprintf(rrd_dir, STRING_SIZE - 1, "/var/log/rrd/collectd/localhost/openvpn-%s/", name);
 
                // Handle N2N connections
                } else if (strcmp(conn->type, "net") == 0) {