From bb7bc2a3c26807aa810c3e1a9007c0ffc7fdfbe4 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Wed, 28 Aug 2024 12:56:18 +0200 Subject: clang format --- src/zenutil/service.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/zenutil/service.cpp') diff --git a/src/zenutil/service.cpp b/src/zenutil/service.cpp index 8ac35d969..637974c13 100644 --- a/src/zenutil/service.cpp +++ b/src/zenutil/service.cpp @@ -155,7 +155,7 @@ namespace { " ProgramArguments\n" " \n" " {}\n" // Program name - "{}" // "arg\n" * number of arguments + "{}" // "arg\n" * number of arguments " \n" " KeepAlive\n" " \n" @@ -534,8 +534,8 @@ InstallService(const std::filesystem::path& ExecutablePath, { return MakeErrorCodeFromLastError(); } - std::string DaemonName = fmt::format("com.epicgames.unreal.{}", ServiceName); - std::string PList = BuildPlist(ExecutablePath, CommandLineOptions, DaemonName, ServiceDisplayName, ServiceDescription, true); + std::string DaemonName = fmt::format("com.epicgames.unreal.{}", ServiceName); + std::string PList = BuildPlist(ExecutablePath, CommandLineOptions, DaemonName, ServiceDisplayName, ServiceDescription, true); std::filesystem::path PListPath = std::filesystem::path("/Library/LaunchDaemons") / (DaemonName + ".plist"); ZEN_INFO("Writing launchd plist to {}", PListPath.string()); zen::WriteFile(PListPath, IoBuffer(IoBuffer::Wrap, PList.data(), PList.size())); -- cgit v1.2.3