diff options
Diffstat (limited to 'etc/rc.d/virecover')
-rwxr-xr-x | etc/rc.d/virecover | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.d/virecover b/etc/rc.d/virecover index 4c9a272..8d61bcd 100755 --- a/etc/rc.d/virecover +++ b/etc/rc.d/virecover @@ -27,6 +27,7 @@ esac virecover_start() { + [ -d /var/tmp/vi.recover ] || return 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 |