fix
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				BlockStorage/repertory_mac/pipeline/head There was a failure building this commit
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	BlockStorage/repertory_mac/pipeline/head There was a failure building this commit
				
			This commit is contained in:
		| @@ -70,5 +70,5 @@ generate_launchd_plist(const std::string &label, std::string plist_path, | ||||
| #endif // defined(__APPLE__) | ||||
| } // namespace repertory::utils | ||||
|  | ||||
| #endif // !_WIN32 | ||||
| #endif // !defined(_WIN32) | ||||
| #endif // REPERTORY_INCLUDE_UTILS_UNIX_UNIX_UTILS_HPP_ | ||||
|   | ||||
| @@ -456,21 +456,21 @@ auto fuse_base::mount([[maybe_unused]] std::vector<std::string> orig_args, | ||||
|       return -1; | ||||
|     } | ||||
|  | ||||
|     ret = utils::launchctl_command(launchctl_type::bootout, label_); | ||||
|     ret = utils::launchctl_command(utils::launchctl_type::bootout, label_); | ||||
|     if (ret != 0) { | ||||
|       std::cout << fmt::format("WARN: Failed to bootout {}/{}", getuid(), | ||||
|                                label_) | ||||
|                 << std::endl; | ||||
|     } | ||||
|  | ||||
|     ret = utils::launchctl_command(launchctl_type::bootstrap, label_); | ||||
|     ret = utils::launchctl_command(utils::launchctl_type::bootstrap, label_); | ||||
|     if (ret != 0) { | ||||
|       std::cout << fmt::format("WARN: Failed to bootstrap {}/{}", getuid(), | ||||
|                                label_) | ||||
|                 << std::endl; | ||||
|     } | ||||
|  | ||||
|     ret = = utils::launchctl_command(launchctl_type::kickstart, label_); | ||||
|     ret = = utils::launchctl_command(utils::launchctl_type::kickstart, label_); | ||||
|     if (ret != 0) { | ||||
|       std::cerr << fmt::format("FATAL: Failed to kickstart {}/{}", getuid(), | ||||
|                                label_) | ||||
| @@ -922,7 +922,7 @@ auto fuse_base::unmount(const std::string &mount_location) -> int { | ||||
|   if (utils::file::file{ | ||||
|           utils::path::combine("~", {"/Library/LaunchAgents", label_})} | ||||
|           .exists()) { | ||||
|     return utils::launchctl_command(launchctl_type::bootout, label_); | ||||
|     return utils::launchctl_command(utils::launchctl_type::bootout, label_); | ||||
|   } | ||||
|  | ||||
|   auto cmd = "umount \"" + mount_location + "\" >/dev/null 2>&1"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user