summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-12-16 15:13:09 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-12-16 15:13:09 +0000
commit781a93ffffd44a7716dd9906089a2c8c5f079ebd (patch)
treea5d425027e208dc1dea5dc79dbff8409e483592a
parent95919c394f413c7d8e02e4d3c80ca58dcdc15d96 (diff)
downloadpfsense-781a93ffffd44a7716dd9906089a2c8c5f079ebd.zip
pfsense-781a93ffffd44a7716dd9906089a2c8c5f079ebd.tar.gz
Use mwexec so we can see if it fails.
-rw-r--r--etc/inc/config.inc6
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");
OpenPOWER on IntegriCloud