We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1322844 + 63681f6 commit 2fb5107Copy full SHA for 2fb5107
1 file changed
auto-update/main.go
@@ -342,6 +342,11 @@ func runAutoUpdate() {
342
// block until kill signal is received
343
s := <-stop
344
log.Printf("Exit command %s received in auto update\n", s)
345
+ config, err = lib.NewConfigFromFile(configFilePath)
346
+ if err != nil {
347
+ log.Printf("Failed to read config file on closure: %v", err)
348
+ return
349
+ }
350
config.RunningAutoUpdate = false
351
config.WriteToFile(configFilePath)
352
// Gracefully terminate the current process
0 commit comments