1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-22 18:06:40 +00:00

nyx: sd part: set attributes to folders also on restore

This commit is contained in:
CTCaer 2022-01-16 01:38:47 +02:00
parent 5a88f7bc06
commit 6092994240

View file

@ -189,6 +189,7 @@ static int _backup_and_restore_files(char *path, u32 *total_files, u32 *total_si
{
f_chdrive(dst);
f_mkdir(path);
f_chmod(path, fno.fattrib, 0xFF);
}
// Enter the directory.
res = _backup_and_restore_files(path, total_files, total_size, dst, src, labels);