From e92e244fcc3ee71f9bf8c8a582300cd72e9cfc1b Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 30 Aug 1999 03:34:46 +0000 Subject: [PATCH] Remove all non-file like things in /var/tmp/vi.recover on reboot. --- etc/rc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/rc b/etc/rc index 9a4877a85019..620f82ce9d70 100644 --- a/etc/rc +++ b/etc/rc @@ -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'