mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Fixed syncing of the directory of the content file
This commit is contained in:
parent
4d09bffb94
commit
10c327a558
1 changed files with 2 additions and 2 deletions
|
|
@ -4548,9 +4548,9 @@ static void state_rename_content(struct snapraid_state* state)
|
|||
|
||||
pathcpy(dir, sizeof(dir), content->content);
|
||||
|
||||
slash = strrchr(tmp, '/');
|
||||
slash = strrchr(dir, '/');
|
||||
if (slash)
|
||||
*slash = 0;
|
||||
slash[1] = 0;
|
||||
else
|
||||
pathcpy(dir, sizeof(dir), ".");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue