summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-01-27 14:10:25 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-01-27 14:10:25 +0100
commit873286b7a3f0def09c63f81bb54e5c9d8b850fa8 (patch)
treeb80c0f5a2f9f6fce9d2c88283d702d9629aea6c3
parent28e54bc648502820202ea44f6a990c9502f901f7 (diff)
downloadvdr-873286b7a3f0def09c63f81bb54e5c9d8b850fa8.tar.gz
vdr-873286b7a3f0def09c63f81bb54e5c9d8b850fa8.tar.bz2
Ignoring 'stale NFS file handle' error when scanning recordings
-rw-r--r--recording.c4
1 files 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;