summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 9a4877a..620f82c 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'
OpenPOWER on IntegriCloud