diff --git a/main_windows.go b/main_windows.go index 1b7bf3d84..1dd1b3454 100644 --- a/main_windows.go +++ b/main_windows.go @@ -111,7 +111,6 @@ func main() { inService, err := svc.IsWindowsService() if err != nil { os.Exit(99) // failed to determine service status - return } // running as service? @@ -119,8 +118,8 @@ func main() { err := svc.Run("cloud-sql-proxy", &windowsService{}) if err != nil { os.Exit(100) // failed to execute service - return } + return } // run as commandline