diff --git a/cmd/easeprobe/main.go b/cmd/easeprobe/main.go index 11beccc6..ecada26a 100644 --- a/cmd/easeprobe/main.go +++ b/cmd/easeprobe/main.go @@ -174,7 +174,7 @@ func saveData(doneSave chan bool) { } // if datafile is explicitly disabled redefine as empty - if c.Settings.SLAReport.DataFile != "-" { + if c.Settings.SLAReport.DataFile == "-" { save = func() {} }