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.
1 parent 420742c commit 70dbe96Copy full SHA for 70dbe96
cli/daemon/daemon.go
@@ -93,6 +93,9 @@ func runDaemonCommand(cmd *cobra.Command, args []string) {
93
go func() {
94
// stdin is closed when the controlling parent process ends
95
_, _ = io.Copy(ioutil.Discard, os.Stdin)
96
+ if viper.GetBool("telemetry.enabled") {
97
+ telemetry.Engine.Flush()
98
+ }
99
os.Exit(0)
100
}()
101
}
0 commit comments