diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-12-16 15:13:09 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-12-16 15:13:09 +0000 |
commit | 781a93ffffd44a7716dd9906089a2c8c5f079ebd (patch) | |
tree | a5d425027e208dc1dea5dc79dbff8409e483592a | |
parent | 95919c394f413c7d8e02e4d3c80ca58dcdc15d96 (diff) | |
download | pfsense-781a93ffffd44a7716dd9906089a2c8c5f079ebd.zip pfsense-781a93ffffd44a7716dd9906089a2c8c5f079ebd.tar.gz |
Use mwexec so we can see if it fails.
-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"); |