Fix backup to a file

This commit is contained in:
Kuba Podgórski 2021-05-24 10:36:58 +02:00
parent 9992cb886a
commit 935edba1db

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.