cmd/syncthing: Add indication that reset db happened (#6364)

This commit is contained in:
Simon Frei 2020-02-26 12:38:43 +01:00 committed by GitHub
parent 71aecc5cd4
commit cb624dbf5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -374,6 +374,7 @@ func main() {
l.Warnln("Resetting database:", err) l.Warnln("Resetting database:", err)
os.Exit(syncthing.ExitError.AsInt()) os.Exit(syncthing.ExitError.AsInt())
} }
l.Infoln("Successfully reset database - it will be rebuilt after next start.")
return return
} }