mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +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);
|
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);
|
ret = path_mkdir(buf);
|
||||||
|
|
||||||
RARCH_LOG("Create %s %s\n", buf, ret ? "true" : "false");
|
RARCH_LOG("Create %s %s\n", buf, ret ? "true" : "false");
|
||||||
|
|
||||||
if(ret)
|
if(ret)
|
||||||
rmdir(path);
|
rmdir(buf);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user