github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/cmd/pyroscope/main_unix.go (about) 1 //go:build !windows 2 // +build !windows 3 4 package main 5 6 import ( 7 "fmt" 8 "os" 9 ) 10 11 func fatalf(format string, args ...interface{}) { 12 _, _ = fmt.Fprintf(os.Stderr, format, args...) 13 // revive:disable-next-line:deep-exit different impls exit at different points 14 os.Exit(1) 15 }