2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-07 11:30:49 +00:00

Merge pull request #3105 from restic/fix-init-repo-file

Allow using --repository-file in init
This commit is contained in:
rawtaz 2020-11-17 21:54:44 +01:00 committed by GitHub
commit 6822ce8479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,10 +43,6 @@ func init() {
}
func runInit(opts InitOptions, gopts GlobalOptions, args []string) error {
if gopts.Repo == "" {
return errors.Fatal("Please specify repository location (-r)")
}
chunkerPolynomial, err := maybeReadChunkerPolynomial(opts, gopts)
if err != nil {
return err