@marcel91200 / caddy Mirror · read-only / commits / da24f57d
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 13, 10:30 UTC

Fix inverted logic in Windows service detection (#5106)

Tobias Gruetzmacher committed Oct 2, 2022 at 22:56 UTC da24f57daca431704f953500386758eae2b8de1b
1 file changed +1 -1
service_windows.go
+1 -1
@@ -21,7 +21,7 @@ import (
21
22 func init() {
23 isService, err := svc.IsWindowsService()
24 - if err != nil || isService {
24 + if err != nil || !isService {
25 return
26 }
27 go func() {