From 02e777cf421416cf1d32e720347c91cd961b2d76 Mon Sep 17 00:00:00 2001 From: Daniel Theophanes Date: Thu, 8 Mar 2012 17:07:12 -0800 Subject: [PATCH] Correct comment. --- serviceCgo_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serviceCgo_windows.go b/serviceCgo_windows.go index c3c7067..ebfc827 100644 --- a/serviceCgo_windows.go +++ b/serviceCgo_windows.go @@ -198,7 +198,7 @@ import ( // Starts a windows service routine. Service must be registered first. // Call blocks until an error occurs or the service stops. If onStart returns // an error, service will not start. If onStop returns an error, the service will -// not stop. +// stop and return that error. func runService(serviceName string, onStart, onStop func() error) error { // We alloc a c string here, but do not free it here cname := C.CString(serviceName)