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'