Fix spelling

* Fix spelling
This commit is contained in:
abraunegg 2025-10-13 14:17:08 +11:00
commit 3d6e735c1a
2 changed files with 2 additions and 1 deletions

View file

@ -75,6 +75,7 @@ Cforce
checkinterval
chkconfig
chpst
chrooted
classinfo
clen
cloexec

View file

@ -6751,7 +6751,7 @@ class SyncEngine {
// - we reach the visible root (i.e. dirName(current) == ".").
// Never tries to remove ".".
void removeEmptyParents(string filePath) {
// Work with a normalised *relative* path inside the chrooted tree.
// Work with a normalised *relative* path inside the chrooted configured 'sync_dir'
// If someone passed an absolute path, normalise it anyway; your codebase
// likely already ensures paths are relative within the sync root.
string current = dirName(buildNormalizedPath(filePath));