diff --git a/backend/local.go b/backend/local.go index f88420e7e..ec41073ba 100644 --- a/backend/local.go +++ b/backend/local.go @@ -118,7 +118,7 @@ func CreateLocal(dir string) (*Local, error) { return nil, err } - _, err = f.Write([]byte(strconv.Itoa(BackendVersion))) + _, err = f.Write([]byte(fmt.Sprintf("%d\n", BackendVersion))) if err != nil { return nil, err }