diff --git a/README.md b/README.md index 74fdef6..a8e3d3b 100644 --- a/README.md +++ b/README.md @@ -188,6 +188,7 @@ func main() { - [Yota](https://github.com/nus) - [Erkan Durmus](https://github.com/derkan) - [maxxant](https://github.com/maxxant) +- [1for](https://github.com/1for) All the contributors are welcome. If you would like to be the contributor please accept some rules. - The pull requests will be accepted only in "develop" branch diff --git a/daemon.go b/daemon.go index 7c9919b..306dc6a 100644 --- a/daemon.go +++ b/daemon.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. /* -Package daemon 0.8.5 for use with Go (golang) services. +Package daemon 0.8.6 for use with Go (golang) services. Package daemon provides primitives for daemonization of golang services. This package is not provide implementation of user daemon, diff --git a/daemon_windows.go b/daemon_windows.go index 3ef3a4f..3722ea5 100644 --- a/daemon_windows.go +++ b/daemon_windows.go @@ -58,7 +58,7 @@ func (windows *windowsRecord) Install(args ...string) (string, error) { // Remove the service func (windows *windowsRecord) Remove() (string, error) { removeAction := "Removing " + windows.description + ":" - cmd := exec.Command("nssm.exe", "remove", windows.name) + cmd := exec.Command("nssm.exe", "remove", windows.name, "confirm") err := cmd.Run() if err != nil { return removeAction + failed, err