aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c
index 550e9b1df..312609939 100644
--- a/src/update.c
+++ b/src/update.c
@@ -291,7 +291,7 @@ updateDirectory(struct directory *directory)
if (!utf8)
continue;
- if (directory->path)
+ if (!isRootDirectory(directory->path))
utf8 = pfx_dir(path_max_tmp, utf8, strlen(utf8),
dirname, strlen(dirname));
if (was_empty) {