diff options
author | imp <imp@FreeBSD.org> | 1999-08-30 03:34:46 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-08-30 03:34:46 +0000 |
commit | e92e244fcc3ee71f9bf8c8a582300cd72e9cfc1b (patch) | |
tree | f241782d485ec032e9a1f4bc82411fb86e2547d8 | |
parent | 88ae865d147e6ccd44e1936100bd2b79dec91aa4 (diff) | |
download | FreeBSD-src-e92e244fcc3ee71f9bf8c8a582300cd72e9cfc1b.zip FreeBSD-src-e92e244fcc3ee71f9bf8c8a582300cd72e9cfc1b.tar.gz |
Remove all non-file like things in /var/tmp/vi.recover on reboot.
-rw-r--r-- | etc/rc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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' |