path check
This commit is contained in:
parent
4e3eb89d31
commit
f82bf0d495
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ void RemovableDriveManager::eject_drive(const std::string &path)
|
|||
if(correct_path[i]==' ')
|
||||
{
|
||||
correct_path = correct_path.insert(i,"\\");
|
||||
i++;
|
||||
}
|
||||
}
|
||||
std::cout<<"Ejecting "<<(*it).name<<" from "<< (*it).path<<"\n";
|
||||
|
|
Loading…
Reference in a new issue