Fix cleanup of test dir

This commit is contained in:
Andrés 2015-07-14 20:36:38 -05:00
parent 8b791c64a1
commit 8bf2b8a309

View File

@ -457,13 +457,13 @@ bool test_permissions(const char *path)
RARCH_LOG("Testing permissions for %s\n",path);
fill_pathname_join(buf, path, "ra-test", sizeof(buf));
fill_pathname_join(buf, path, ".retroarch", sizeof(buf));
ret = path_mkdir(buf);
RARCH_LOG("Create %s %s\n", buf, ret ? "true" : "false");
if(ret)
rmdir(path);
rmdir(buf);
return ret;
}