summaryrefslogtreecommitdiff
path: root/daemons/rc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/rc.sh')
-rw-r--r--daemons/rc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/rc.sh b/daemons/rc.sh
index b113dac1..3b62b9e0 100644
--- a/daemons/rc.sh
+++ b/daemons/rc.sh
@@ -46,7 +46,7 @@ echo -n cleaning up left over files...
rm -f /etc/nologin
rm -f /var/lock/LCK.*
if test -d /tmp; then
- (cd /tmp; find . ! -name . ! -name lost+found ! -name quotas -exec rm -r {} \; )
+ (cd /tmp; find . ! -name . ! -name lost+found ! -name quotas -exec rm -rf {} \; )
fi
if test -d /var/run; then
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })