aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/update.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c
index 48fe03f95..a1cca3005 100644
--- a/src/update.c
+++ b/src/update.c
@@ -376,7 +376,9 @@ directory_make_child_checked(struct directory *parent, const char *path)
if (conflicting)
delete_song(parent, conflicting);
- return directory_new_child(parent, path);
+ directory = directory_new_child(parent, path);
+ directory_set_stat(directory, &st);
+ return directory;
}
static struct directory *