Oops: don't report an error during cache initialization if the cache folder already exists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16992 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2bcc5f782d
commit
5076dca58e
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ bool HttpGet::initializeCache(const QDir& d)
|
||||||
{
|
{
|
||||||
if(!QFileInfo(p).isDir())
|
if(!QFileInfo(p).isDir())
|
||||||
result = d.mkdir("rbutil-cache");
|
result = d.mkdir("rbutil-cache");
|
||||||
|
else
|
||||||
|
result = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
result = false;
|
result = false;
|
||||||
|
|
Loading…
Reference in a new issue