fix find & deletion of old files so that it doesn't look in kernfs

or fdesc fs
This commit is contained in:
cgd 1993-04-09 10:25:02 +00:00
parent c050664467
commit a7a0d9856e
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ if [ -d /var/rwho ] ; then
fi
cd /tmp
find / ! -fstype local -a -prune -o \
find / \( ! -fstype local -o -fstype fdesc -o -fstype kernfs \) -a -prune -o \
\( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name core \
-o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \
-a -atime +3 -exec rm -f -- {} \;