Fixed filepath handling

This commit is contained in:
Uwe Seimet 2021-09-03 12:28:39 +02:00
parent 51e807f365
commit e18934d545

View File

@ -867,6 +867,8 @@ bool ProcessCmd(int fd, const PbDeviceDefinition& pb_device, const PbOperation o
FileSupport *file_support = dynamic_cast<FileSupport *>(device);
if (file_support) {
Filepath filepath;
file_support->GetPath(filepath);
file_support->UnreserveFile(filepath);
}