aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/service.cpp
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2025-03-27 15:00:46 -0700
committerLiam Mitchell <[email protected]>2025-03-27 15:00:46 -0700
commitaa3c95266ace162ed3ff83e71df50e2321a6364b (patch)
tree6db01c9a869c8768b3ebef019bba90cfc3f4a4c8 /src/zenutil/service.cpp
parentMerge pull request #321 from ue-foundation/lm/zen-service-elevated-command-line (diff)
downloadzen-aa3c95266ace162ed3ff83e71df50e2321a6364b.tar.xz
zen-aa3c95266ace162ed3ff83e71df50e2321a6364b.zip
Fix naming of service handle close guard variable
Diffstat (limited to 'src/zenutil/service.cpp')
-rw-r--r--src/zenutil/service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenutil/service.cpp b/src/zenutil/service.cpp
index 760e52baf..6e68a01fa 100644
--- a/src/zenutil/service.cpp
+++ b/src/zenutil/service.cpp
@@ -436,7 +436,7 @@ InstallService(std::string_view ServiceName, const ServiceSpec& Spec)
return MakeErrorCodeFromLastError();
}
- auto _ = MakeGuard([schService]() { CloseServiceHandle(schService); });
+ auto __ = MakeGuard([schService]() { CloseServiceHandle(schService); });
if (!Spec.Description.empty())
{