mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-02 16:59:48 +02:00
path check
This commit is contained in:
@@ -258,7 +258,7 @@ void RemovableDriveManager::eject_drive(const std::string &path)
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::cout<<"Ejecting "<<(*it).name<<" from "<< correct_path<"\n";
|
std::cout<<"Ejecting "<<(*it).name<<" from "<< correct_path<<"\n";
|
||||||
std::string command = "umount ";
|
std::string command = "umount ";
|
||||||
command += correct_path;
|
command += correct_path;
|
||||||
int err = system(command.c_str());
|
int err = system(command.c_str());
|
||||||
|
|||||||
Reference in New Issue
Block a user