Fix of Ejecting of device has failed on Ubuntu Linux #3975
Eject failed due to superfluous escaping of spaces in path to the SD card mount point.
This commit is contained in:
parent
4988b93b8d
commit
2ad4447035
@ -284,9 +284,6 @@ void RemovableDriveManager::eject_drive()
|
||||
#if __APPLE__
|
||||
// On Apple, run the eject asynchronously on a worker thread, see the discussion at GH issue #4844.
|
||||
m_eject_thread = new boost::thread([this, correct_path, drive_data]()
|
||||
#else
|
||||
// Escape spaces on Unix systems. Why not on Apple?
|
||||
boost::replace_all(correct_path, " ", "\\ ");
|
||||
#endif
|
||||
{
|
||||
//std::cout<<"Ejecting "<<(*it).name<<" from "<< correct_path<<"\n";
|
||||
|
Loading…
Reference in New Issue
Block a user