From 873286b7a3f0def09c63f81bb54e5c9d8b850fa8 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 27 Jan 2002 14:10:25 +0100 Subject: Ignoring 'stale NFS file handle' error when scanning recordings --- recording.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recording.c b/recording.c index 24ac4fb4..89c1ad92 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 1.46 2002/01/26 15:21:40 kls Exp $ + * $Id: recording.c 1.47 2002/01/27 14:10:25 kls Exp $ */ #include "recording.h" @@ -511,7 +511,7 @@ bool cRecordings::Load(bool Deleted) FilterSuffix = Deleted ? DELEXT : RECEXT; if (ftw(VideoDirectory, Filter, 10) < 0) { LOG_ERROR; - result = false; + result = errno != ESTALE; // apparently stale NFS file handles are not really a problem? } Sort(); result = result && Count() > 0; -- cgit v1.2.3