diff options
-rw-r--r-- | etc/inc/config.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index d25715e..dbcb8c1 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -2064,9 +2064,9 @@ endif; /* Convert 5.4 -> 5.5 */ if ($config['version'] <= 5.4) { /* RRD files changed for quality, traffic and packets graphs */ - exec("/bin/rm -f /var/db/rrd/*-quality.rrd"); - exec("/bin/rm -f /var/db/rrd/*-packets.rrd"); - exec("/bin/rm -f /var/db/rrd/*-traffic.rrd"); + mwexec("/bin/rm -f /var/db/rrd/*-quality.rrd"); + mwexec("/bin/rm -f /var/db/rrd/*-packets.rrd"); + mwexec("/bin/rm -f /var/db/rrd/*-traffic.rrd"); } $now = date("H:i:s"); |