mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-09 12:01:45 +00:00
nyx: sd part: set attributes to folders also on restore
This commit is contained in:
parent
5a88f7bc06
commit
6092994240
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue