diff --git a/kernel/model/box.go b/kernel/model/box.go index 2a9054417..2464c06ec 100644 --- a/kernel/model/box.go +++ b/kernel/model/box.go @@ -211,7 +211,9 @@ func (box *Box) saveConf0(data []byte) { logging.LogErrorf("save box conf [%s] failed: %s", confPath, err) } if err := filelock.WriteFile(confPath, data); nil != err { - logging.LogErrorf("save box conf [%s] failed: %s", confPath, err) + logging.LogErrorf("write box conf [%s] failed: %s", confPath, err) + util.ReportFileSysFatalError(err) + return } }