This commit is contained in:
parent
57b007759e
commit
4e8ff7815e
@ -196,12 +196,11 @@ public:
|
||||
}
|
||||
|
||||
static void execute_unmount() {
|
||||
auto unmounted{false};
|
||||
|
||||
auto unmount_cmd = "./repertory -dd \"" + config->get_data_directory() +
|
||||
"\"" + " " + utils::string::join(drive_args, ' ') +
|
||||
" -unmount";
|
||||
|
||||
auto unmounted{false};
|
||||
for (int i = 0; not unmounted && (i < 50); i++) {
|
||||
std::cout << "unmount command: " << unmount_cmd << std::endl;
|
||||
auto res = system(unmount_cmd.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user