We don't need to skip /var/run/log socket, as syslogd is always started

after rc.d/cleanvar. And if we wanted to skip /var/run/log we still needed
to skip /var/run/logpriv, which wasn't implemented.
This commit is contained in:
pjd 2005-08-07 23:10:32 +00:00
parent d369af7dc0
commit 309ea12cd0

View File

@ -18,8 +18,6 @@ purgedir()
(
cd "$dir" && for file in .* *
do
# Skip over logging sockets
[ -S "$file" -a "$file" = "log" ] && continue
[ ."$file" = .. -o ."$file" = ... ] && continue
if [ -d "$file" -a ! -L "$file" ]
then