mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix cleanup of test dir
This commit is contained in:
parent
8b791c64a1
commit
8bf2b8a309
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user