2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 06:46:34 +00:00

backend/rclone: Stop rclone in case of errors

This commit is contained in:
Alexander Neumann 2018-03-14 22:28:12 +01:00
parent 6d9a029e09
commit 99b62c11b8

View File

@ -221,6 +221,7 @@ func Create(cfg Config) (*Backend, error) {
restBackend, err := rest.Create(restConfig, be.tr)
if err != nil {
_ = be.Close()
return nil, err
}