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 88fc4e4 commit 92c5345Copy full SHA for 92c5345
cmd/easeprobe/main.go
@@ -85,15 +85,15 @@ func main() {
85
86
c, err := conf.New(yamlFile)
87
if err != nil {
88
- log.Fatalln("Fatal: Cannot read the YAML configuration file!")
+ log.Errorln("Fatal: Cannot read the YAML configuration file!")
89
os.Exit(-1)
90
}
91
92
// Create the pid file if the file name is not empty
93
if len(strings.TrimSpace(c.Settings.PIDFile)) > 0 {
94
d, err := daemon.NewPIDFile(c.Settings.PIDFile)
95
96
- log.Fatalf("Fatal: Cannot create the PID file: %s!", err)
+ log.Errorf("Fatal: Cannot create the PID file: %s!", err)
97
98
99
log.Infof("Successfully created the PID file: %s", d.PIDFile)
0 commit comments