Remove all non-file like things in /var/tmp/vi.recover on reboot.

This commit is contained in:
imp 1999-08-30 03:34:46 +00:00
parent 88ae865d14
commit e92e244fcc

1
etc/rc
View File

@ -343,6 +343,7 @@ if [ -f /etc/rc.${arch} ]; then
fi
# Recover vi editor files.
find /var/tmp/vi.recover ! -type f -a ! -type d -delete
vibackup=`echo /var/tmp/vi.recover/vi.*`
if [ "${vibackup}" != '/var/tmp/vi.recover/vi.*' ]; then
echo 'Recovering vi editor sessions'