Merge pull request #1605 from kuba--/fix-file-backup

Fix backup to a file
This commit is contained in:
Kuba Podgórski 2021-05-24 18:52:23 +02:00 • committed by GitHub
commit 01c4b11efb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,6 +105,7 @@ func (cmd *BackupCommand) Run(ctx context.Context) (err error) {
return err
}
defer f.Close()
w = f
}
// Open a tar writer to the temporary file.