fix
This commit is contained in:
@@ -58,7 +58,6 @@ private:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::unique_ptr<i_file_db> file_db_{nullptr};
|
std::unique_ptr<i_file_db> file_db_{nullptr};
|
||||||
i_file_manager *fm_{nullptr};
|
|
||||||
utils::hash::hash_256_t master_key_{};
|
utils::hash::hash_256_t master_key_{};
|
||||||
std::unordered_map<std::string, std::shared_ptr<reader_info>> reader_lookup_;
|
std::unordered_map<std::string, std::shared_ptr<reader_info>> reader_lookup_;
|
||||||
std::recursive_mutex reader_lookup_mtx_;
|
std::recursive_mutex reader_lookup_mtx_;
|
||||||
|
@@ -403,7 +403,7 @@ auto launchctl_command(std::string_view label, launchctl_type type) -> int {
|
|||||||
auto remove_launchd_plist(std::string_view plist_path, std::string_view label,
|
auto remove_launchd_plist(std::string_view plist_path, std::string_view label,
|
||||||
bool should_bootout) -> bool {
|
bool should_bootout) -> bool {
|
||||||
auto file = utils::file::file{
|
auto file = utils::file::file{
|
||||||
utils::path::combine(plist_path, {label + ".plist"}),
|
utils::path::combine(plist_path, {std::string{label} + ".plist"}),
|
||||||
};
|
};
|
||||||
if (not file.exists()) {
|
if (not file.exists()) {
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user