diff --git a/internal/notification/file_notifier.go b/internal/notification/file_notifier.go index 819ef1208..ddbd2b0c9 100644 --- a/internal/notification/file_notifier.go +++ b/internal/notification/file_notifier.go @@ -37,10 +37,6 @@ func (n *FileNotifier) StartupCheck() (bool, error) { if !os.IsNotExist(err) { return false, err } - } else { - if err = os.Remove(n.path); err != nil { - return false, err - } } if err := ioutil.WriteFile(n.path, []byte(""), fileNotifierMode); err != nil {