don't remove plist on unmount
All checks were successful
Blockstorage/repertory/pipeline/head This commit looks good
BlockStorage/repertory/pipeline/head This commit looks good
BlockStorage/repertory_mac/pipeline/head This commit looks good

This commit is contained in:
2025-09-14 12:17:42 -05:00
parent ba586ad32f
commit 044cda06db
2 changed files with 1 additions and 12 deletions

View File

@@ -180,17 +180,6 @@ void fuse_base::destroy_(void *ptr) {
void fuse_base::destroy_impl(void * /* ptr */) {
REPERTORY_USES_FUNCTION_NAME();
#if defined(__APPLE__)
if (not foreground_ &&
not utils::remove_launchd_plist(
utils::path::combine("~", {"/Library/LaunchAgents"}), label_,
false)) {
utils::error::raise_error(
function_name,
fmt::format("failed to remove launchd entry|label|{}", label_));
}
#endif // defined(__APPLE__)
if (not foreground_) {
repertory::project_cleanup();
}

View File

@@ -327,7 +327,7 @@ void mgmt_app_config::set_auto_start(bool auto_start) {
function_name, utils::get_last_error_code(),
"failed to create auto-start entry|name|repertory");
}
} else if (utils::remove_launchd_plist(plist_path, label, true)) {
} else if (utils::remove_launchd_plist(plist_path, label, false)) {
utils::error::handle_info(function_name,
"removed auto-start entry|name|repertory");
} else {