Fix a bug with smb notify having leading slash when it should not
Signed-off-by: Ari Selseng <ari@selseng.net>
This commit is contained in:
parent
ad06248889
commit
3ce43ce3ce
|
@ -155,7 +155,7 @@ class Notify extends Base {
|
||||||
}
|
}
|
||||||
|
|
||||||
private function markParentAsOutdated($mountId, $path) {
|
private function markParentAsOutdated($mountId, $path) {
|
||||||
$parent = dirname($path);
|
$parent = ltrim(dirname($path), '/');
|
||||||
if ($parent === '.') {
|
if ($parent === '.') {
|
||||||
$parent = '';
|
$parent = '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue