fixed: in Functions::CheckSpecialFile() after parsing new mount points
the cur->mount pointer was pointing at the old mount object (which may no longer exists)
This commit is contained in:
@@ -168,7 +168,9 @@ Error Functions::CheckSpecialFile(const Item & item)
|
||||
{
|
||||
log << log3 << "Functions: reloading mount points" << logend;
|
||||
|
||||
cur->mount = system->mounts.GetEmptyMount();
|
||||
system->mounts.ReadMounts(item.content);
|
||||
cur->mount = system->mounts.pmount;
|
||||
templates->ReadNewIndexTemplates();
|
||||
templates->ReadNewChangeTemplates();
|
||||
|
||||
|
Reference in New Issue
Block a user