Shutdown from GUI (ref #192)

This commit is contained in:
Jakob Borg
2014-05-11 20:16:27 -03:00
parent 0fcbee6478
commit 20b23338f7
2 changed files with 11 additions and 2 deletions

View File

@@ -431,6 +431,10 @@ func restart() {
stop <- true
}
func shutdown() {
stop <- true
}
var saveConfigCh = make(chan struct{})
func saveConfigLoop(cfgFile string) {