mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-12 15:58:16 +08:00
path check
This commit is contained in:
parent
d2ef01990b
commit
3d036d363b
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user