path check

This commit is contained in:
David Kocik 2019-12-04 13:21:41 +01:00
parent 1c9dddeb2b
commit 9a301ac98d

View file

@ -258,7 +258,7 @@ void RemovableDriveManager::eject_drive(const std::string &path)
i++;
}
}
std::cout<<"Ejecting "<<(*it).name<<" from "<< correct_path<"\n";
std::cout<<"Ejecting "<<(*it).name<<" from "<< correct_path<<"\n";
std::string command = "umount ";
command += correct_path;
int err = system(command.c_str());