diff options
| -rw-r--r-- | lib/dvb/db.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp index ccaecd4f..47b5427e 100644 --- a/lib/dvb/db.cpp +++ b/lib/dvb/db.cpp @@ -618,14 +618,7 @@ void eDVBDB::loadBouquet(const char *path) int entries=0; if (!fp) { - struct stat s; - if ( !stat(path, &s) ) - { - rename(path, p.c_str() ); - loadBouquet(path); - return; - } - eDebug("failed to open."); + eDebug("can't open %s: %m", p.c_str()); if ( strstr(path, "bouquets.tv") ) { eDebug("recreate bouquets.tv"); |
