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:
parent
d369af7dc0
commit
309ea12cd0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user