path check
This commit is contained in:
parent
1c9dddeb2b
commit
9a301ac98d
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue