path check

This commit is contained in:
David Kocik
2019-12-04 13:13:18 +01:00
parent 1fffd17c3b
commit 7ca39aec5e

View File

@@ -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";