release global lock before elevating process
This commit is contained in:
parent
616dca89ca
commit
13eab49207
@ -123,6 +123,7 @@ mount(std::vector<const char *> args, std::string data_directory,
|
|||||||
std::cerr << "failed to set mount state" << std::endl;
|
std::cerr << "failed to set mount state" << std::endl;
|
||||||
}
|
}
|
||||||
lock.release();
|
lock.release();
|
||||||
|
global_lock.release();
|
||||||
|
|
||||||
mount_result = utils::run_process_elevated(args);
|
mount_result = utils::run_process_elevated(args);
|
||||||
lock_data prov_lock(prov, unique_id);
|
lock_data prov_lock(prov, unique_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user