summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-21 22:11:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-21 22:11:53 +0000
commitab23073115283503bf49339401ab3a72a169f9fe (patch)
treee26dd1a6129a04f3f26f8dab180d1dfa63dcc1b6
parent8060d89a47ff826856a13cae13b8cf0788ab6a0b (diff)
downloadpfsense-ab23073115283503bf49339401ab3a72a169f9fe.zip
pfsense-ab23073115283503bf49339401ab3a72a169f9fe.tar.gz
When clearing log files, send errors to people that care (/dev/null)
-rwxr-xr-xetc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 28cc865..d951c0d 100755
--- a/etc/rc
+++ b/etc/rc
@@ -134,7 +134,7 @@ chmod 777 /tmp/uploadbar
# make some directories in /var
mkdir -p /var/run /var/log /var/etc /var/db/entropy /var/at/jobs/ /var/empty 2>/dev/null
-rm /var/log/*
+rm /var/log/* 2>/dev/null
rm -rf /var/run/*
echo -n "."
OpenPOWER on IntegriCloud