X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdvb%2Fdb.cpp;h=47b5427eca1c65933d68845c499c0323d82ea059;hp=ccaecd4f682798d62fc9315d0f923934aa863d3c;hb=73c456d053fec157ed8a8b70a5efa7b622b58af4;hpb=f45ad930a1f328f880def7e4caa5f48e76c3392f diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp index ccaecd4..47b5427 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");