write replicationURL of last state in new state

master
Oliver Tonnhofer 2013-11-08 16:01:08 +01:00
parent d560755a15
commit 8a50a6cfe4
1 changed files with 3 additions and 0 deletions

View File

@ -303,6 +303,9 @@ For:
progress.Stop()
if state != nil {
if lastState != nil {
state.Url = lastState.Url
}
err = diffstate.WriteLastState(config.BaseOptions.CacheDir, state)
if err != nil {
log.Warn(err) // warn only