mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Ignoring 'stale NFS file handle' error when scanning recordings
This commit is contained in:
parent
28e54bc648
commit
873286b7a3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user