INNER CODE UNIT · Go
sig
helmfile/helmfile · main.go:35
case sig = <-sigs:
if sig != nil {
app.Cancel()
app.CleanWaitGroup.Wait()
shutdownTelemetry(nil, signalExitCode(sig))
// See http://tldp.org/LDP/abs/html/exitcodes.html
switch sig {
case syscall.SIGINT:
os.Exit(130)
case syscall.SIGTERM:
os.Exit(143)
}
}
case err := <-errChan:
shutdownTelemetry(err, exitCodeOf(err))
errors.HandleExitCoder(err)